SHIMADA Koji
null+****@clear*****
Wed Oct 3 14:25:08 JST 2012
SHIMADA Koji 2012-10-03 14:25:08 +0900 (Wed, 03 Oct 2012) New Revision: 523a5b630a12c29d0ee5dd4e423156518b1bfaf0 https://github.com/logaling/logaling-server/commit/523a5b630a12c29d0ee5dd4e423156518b1bfaf0 Log: List only created user glossary when failed by error Modified files: app/views/user_glossaries/_form.html.haml Modified: app/views/user_glossaries/_form.html.haml (+1 -1) =================================================================== --- app/views/user_glossaries/_form.html.haml 2012-10-03 12:53:05 +0900 (c57f0a5) +++ app/views/user_glossaries/_form.html.haml 2012-10-03 14:25:08 +0900 (b2d9040) @@ -9,7 +9,7 @@ .control-group = f.label :original_user_glossary_id, :class => 'control-label' .controls - = f.collection_select :original_user_glossary_id, current_user.user_glossaries, :id, :name, :prompt => true + = f.collection_select :original_user_glossary_id, UserGlossary.where(user_id: current_user), :id, :name, :prompt => true .control-group = f.label :name, :class => 'control-label required' .controls -------------- next part -------------- An HTML attachment was scrubbed...Download