Rails 2.3.4 broke gettext_activerecord 2.0.4 Well I did not test other gems of the mutoh gettext set of libraries but here is the gulty code that breaks rails. Since Activerecord::Errors changed its implementation a bit, an error like this is raised : NoMethodError: undefined method `gsub’ for #<ActiveRecord::Error:0×00000002919738> from /home/hallelujah/Jail/lib/ruby/gems/1.9.1/gems/gettext_activerecord-2.0.4/lib/gettext_activerecord/validations.rb:165:in `localize_error_message’ from /home/hallelujah/Jail/lib/ruby/gems/1.9.1/gems/gettext_activerecord-2.0.4/lib/gettext_activerecord/validations.rb:112:in `block (2 …
Tag Archive: 2.0.4
Search
Tag cloud
2.0.4
2.3.4
About
accessor
activerecord
activesupport
active_record
active_support
base
best practice
best practices
bundler
column
email
gem
gemfile
gettext
hash
I18n
inspect
internationalisation
internationalization
L10n
localization
meta-programming
metaprograming
mysql
méta-programmation
métaprogrammation
news
novice
programmation
rails
regexp
ror
ruby
ruby on rails
sort
sorting
testing
tips
validate
validations
validator
wirble
