[logaling-commit] logaling/logaling-server [master] Fix association

Back to archive index

SUZUKI Miho null+****@clear*****
Fri Sep 21 15:11:14 JST 2012


SUZUKI Miho	2012-09-21 15:11:14 +0900 (Fri, 21 Sep 2012)

  New Revision: 6e44c8af3ceee3cbb79c62755f33d3b4db33c678
  https://github.com/logaling/logaling-server/commit/6e44c8af3ceee3cbb79c62755f33d3b4db33c678

  Merged 971b851: Merge pull request #14 from logaling/prioritize-the-search

  Log:
    Fix association

  Modified files:
    app/models/user_config.rb

  Modified: app/models/user_config.rb (+1 -1)
===================================================================
--- app/models/user_config.rb    2012-09-21 15:08:22 +0900 (e3e5ac4)
+++ app/models/user_config.rb    2012-09-21 15:11:14 +0900 (235884e)
@@ -1,5 +1,5 @@
 class UserConfig < ActiveRecord::Base
   attr_accessible :glossary, :source_language, :target_language
 
-  has_one :user
+  belongs_to :user
 end
-------------- next part --------------
An HTML attachment was scrubbed...
Télécharger 



More information about the logaling-commit mailing list
Back to archive index