Browse files

there is a bug in the I18n library bundled with newer rails versions …

…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 6e4bb862e7a06c87a7331be2d828591103976010
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/rails_root/app/models/post.rb
@@ -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

0 comments on commit 6e4bb86

Please sign in to comment.