Skip to content

Commit

Permalink
Remove set_primary_key deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
bryckbost committed Jan 30, 2012
1 parent 13357fc commit 360618a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
end

class Story < ActiveRecord::Base
set_primary_key :story_id
self.primary_key = 'story_id'
def tell; text; end
def whatever(n, _); tell*n; end
default_scope where(:scoped => true)
Expand Down

0 comments on commit 360618a

Please sign in to comment.