Skip to content

Commit

Permalink
Hash is already initialized by serialize
Browse files Browse the repository at this point in the history
  • Loading branch information
atd committed Oct 31, 2012
1 parent 901caa1 commit 2543046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/app/models/site.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Site < ActiveRecord::Base
class << self
def current
@current ||=
first || create!(config: {})
first || create!
end
end
end

0 comments on commit 2543046

Please sign in to comment.