Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove set_primary_key deprecation warning

  • Loading branch information...
commit 360618adad06720d696c32ff4ff87efaba282c5e 1 parent 13357fc
@bryckbost bryckbost authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/spec_helper.rb
View
2  spec/spec_helper.rb
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.