lib/tramway/profiles.rb in tramway-profiles-1.4 vs lib/tramway/profiles.rb in tramway-profiles-1.4.0.1
- old
+ new
@@ -4,10 +4,10 @@
require 'tramway/profiles/generates/install_generator'
module Tramway
module Profiles
class << self
- def records=(*models)
+ def records=(models)
@@records ||= []
@@records += (models.map do |model|
model.to_s.sub(/^\:\:/, '')
end)
end