Skip to content

Commit

Permalink
Keep 1.8.7 compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
rolftimmermans committed Jul 19, 2012
1 parent 927a899 commit b682c20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/unit/attribute_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit b682c20

Please sign in to comment.