Missing translations with current Mongoid
Since Mongoid 2.3 or 2.4, I'm seeing messages like translation missing: en.mongoid.errors.models.user.attributes.full_name.presence instead of can't be blank etc. At first I thought it's a Mongoid issue but with client_side_validations disabled the correct messages are shown.
Fantastic
I'm experiencing this too.
I've set aside some time to tackle a 3.2 release this weekend. This will break out the mongoid functionality in the client_side_validations-mongoid gem. This will allow be better maintenance and faster updates when stuff like this happens.
Thx for the update. If you think I can help, I'm willing.
May I have your email address? -Ken
On Fri, Jan 20, 2012 at 12:07 AM, Brian Cardarella < [email protected]
wrote:
I've set aside some time to tackle a 3.2 release this weekend. This will break out the mongoid functionality in the client_side_validations-mongoid gem. This will allow be better maintenance and faster updates when stuff like this happens.
Reply to this email directly or view it on GitHub:
https://github.com/bcardarella/client_side_validations/issues/253#issuecomment-3580328
This is now fixed in the beta version of client_side_validations-mongoid
https://github.com/dockyard/client_side_validations-mongoid
gem "client_side_validations-mongoid", :git => " https://github.com/dockyard/client_side_validations-mongoid.git"
ActionView::Template::Error (couldn't find file 'rails.validations'
I did not re-run
rails g client_side_validations:install
Is this necessary?
On Sun, Jan 22, 2012 at 3:47 AM, Brian Cardarella < [email protected]
wrote:
This is now fixed in the beta version of
client_side_validations-mongoidhttps://github.com/dockyard/client_side_validations-mongoid
Reply to this email directly or view it on GitHub:
https://github.com/bcardarella/client_side_validations/issues/253#issuecomment-3602481
Nevermind--I see I need to retain: gem client_side_validations
On Sun, Jan 22, 2012 at 9:12 AM, ken keller [email protected] wrote:
gem "client_side_validations-mongoid", :git => " https://github.com/dockyard/client_side_validations-mongoid.git"
ActionView::Template::Error (couldn't find file 'rails.validations'
I did not re-run
rails g client_side_validations:install
Is this necessary?
On Sun, Jan 22, 2012 at 3:47 AM, Brian Cardarella < [email protected]
wrote:
This is now fixed in the beta version of
client_side_validations-mongoidhttps://github.com/dockyard/client_side_validations-mongoid
Reply to this email directly or view it on GitHub:
https://github.com/bcardarella/client_side_validations/issues/253#issuecomment-3602481
Currently the Mongoid plugin requires the beta of version 3.2.0. Use the following in your Gemfile
gem 'mongoid`
gem 'client_side_validations', '~> 3.2.0.beta.1'
gem 'client_side_validations-mongoid', '~> 2.4.0.beta.2'
This only supports Rails 3.1 and greater.
Works!
BTW, my background is at www.kellerapps.com I'm looking for a great Rails engr to join me in my new startup. -Ken
On Sun, Jan 22, 2012 at 9:16 AM, Brian Cardarella < [email protected]
wrote:
gem 'client_side_validations', '~> 3.2.0.beta.1' gem 'client_side_validations-mongoid', '~> 2.4.0.beta.2'