(important)migrateion files changed

This commit is contained in:
Yan
2017-06-07 18:47:50 +06:30
parent be7d448c30
commit f746c18238
38 changed files with 40 additions and 43 deletions

View File

@@ -4,6 +4,6 @@ class Account < ApplicationRecord
has_many :menu_items
# belongs_to :lookup , :class_name => "Lookup"
def self.collection
Account.select("id, title").map { |e| [e.title, e.id] }
end
Account.select("id, title").map { |e| [e.title, e.id] }
end
end