metamaps--metamaps/app/models/user_preference.rb

11 lines
189 B
Ruby
Raw Permalink Normal View History

class UserPreference
attr_accessor :metacodes
def initialize
array = []
Metacode.all.each do |m|
array.push(m.id.to_s)
end
@metacodes = array
end
end