Skip to content

Commit

Permalink
Fixed: Calling set_table_name is deprecated. Please use self.table_na…
Browse files Browse the repository at this point in the history
…me = 'the_name' instead.
  • Loading branch information
parndt authored and schof committed Jan 31, 2012
1 parent 2e6e303 commit d504a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/db/migrate/20120119024710_new_preferences.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class NewPreferences < ActiveRecord::Migration

class OldPrefs < ActiveRecord::Base
set_table_name "spree_preferences"
self.table_name = "spree_preferences"
belongs_to :owner, :polymorphic => true
end

Expand Down

0 comments on commit d504a11

Please sign in to comment.