Permalink
Browse files

Keep 1.8.7 compatibility.

  • Loading branch information...
1 parent 927a899 commit b682c201ddef22f8207d5e8c81b5b7953f93e87e @rolftimmermans rolftimmermans committed Jul 19, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 Gemfile
  2. +1 −1 test/unit/attribute_test.rb
View
@@ -3,8 +3,8 @@ source "http://rubygems.org"
gemspec
if ENV["edge"]
- gem "activerecord", github: "rails/rails"
- gem "active_record_deprecated_finders", github: "rails/active_record_deprecated_finders"
+ gem "activerecord", :github => "rails/rails"
+ gem "active_record_deprecated_finders", :github => "rails/active_record_deprecated_finders"
end
group :development do
@@ -284,7 +284,7 @@ def create_attribute(model, name)
attribute = create_attribute(Kobold, "size")
attribute.column.class_eval do
define_method :scale do
- :small
+ 1..5
end
end
assert_equal nil, attribute.scale

0 comments on commit b682c20

Please sign in to comment.