Skip to content

Commit

Permalink
there is a bug in the I18n library bundled with newer rails versions …
Browse files Browse the repository at this point in the history
…which raises an error on :message options with dots in a row. Removing from our test model does not affect our tests
  • Loading branch information
mjankowski committed Dec 12, 2009
1 parent 18c43a3 commit 6e4bb86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rails_root/app/models/post.rb
Expand Up @@ -7,6 +7,6 @@ class Post < ActiveRecord::Base

validates_uniqueness_of :title
validates_presence_of :title
validates_presence_of :body, :message => 'Seriously... wtf'
validates_presence_of :body, :message => 'Seriously, wtf'
validates_numericality_of :user_id
end

0 comments on commit 6e4bb86

Please sign in to comment.