Open antonioturdo opened 12 years ago
I am working on the solution for both of the issues you've mentioned. Those should be fixed soon.
I had the same problem, but I did find a fix to the first one.
In the gem file for tr8n, you want to go to the edit the file app/models/language_user.rb and change the line near the bottom that says lu.set_attr or something like that to lu.touch.
Another fix is in the file app/models/language_metric.rb there is a typo "total_ley_key" should be changed to key.
These bugs are making my test use of tr8n less enjoyable. These bugs are present in my 3.2.7 app, and in the example demo app: https://github.com/tr8n/tr8n_rails_3.2.3 it wouldn't work for me.
At first look, master (973fb5277) seems to work with 3.2.7
I still have this error reported by @zeusi83 (on Rails 3.2.13), I'm trying to develop a fix but I'm unable to load the gem source for development.
Can you please help me, telling how to load the "extracted" gem for development?
I tried:
And... I can confirm what @whitehat101 said, 973fb52 works with latest Rails version
Okay I discovered that the released gem (3.2.3) is one year old. The "ActiveModel::MassAssignmentSecurity::Error in Tr8n::LanguageController#switch" error is fixed in the current source. I think you can close this issue.
I am trying to use Tr8n with rails 3.2.2. I have my own authentication system and enabled use of User model. I get two different errors:
These errors can be related to the use of rails 3.2.2? Any suggestions on how to solve?