Move utf8 validator into app/validators
This commit is contained in:
parent
65e8bbd5f8
commit
32ce4ea527
2 changed files with 0 additions and 2 deletions
|
@ -24,8 +24,6 @@
|
||||||
# messages_to_user_id_fkey (to_user_id => users.id)
|
# messages_to_user_id_fkey (to_user_id => users.id)
|
||||||
#
|
#
|
||||||
|
|
||||||
require "validators"
|
|
||||||
|
|
||||||
class Message < ActiveRecord::Base
|
class Message < ActiveRecord::Base
|
||||||
belongs_to :sender, :class_name => "User", :foreign_key => :from_user_id
|
belongs_to :sender, :class_name => "User", :foreign_key => :from_user_id
|
||||||
belongs_to :recipient, :class_name => "User", :foreign_key => :to_user_id
|
belongs_to :recipient, :class_name => "User", :foreign_key => :to_user_id
|
||||||
|
|
Loading…
Add table
Reference in a new issue