This project is archived and is in readonly mode.
Problem with error_messages_for in Rails 2.3.4
Reported by Alex Soulim | September 9th, 2009 @ 12:12 PM
I have an error "can't convert ActiveRecord::Error into String" with error_messages_for helper.
There is my code:
<%= error_messages_for :account, :object => [@account, @account.owner] %>
Comments and changes to this ticket
-
lda September 11th, 2009 @ 04:43 AM
check your vendor/plugins and vendor/gems (grep -r vendor "def full_messages")
possibly you have plugin or gem which override ActiveRecord::Errors.full_messages (as we have old yaroslav-russian plugin) -
Alex Soulim September 18th, 2009 @ 02:12 PM
Thank you Ida.
You were right. The problem was in old yaroslav-russian plugin. -
Yaroslav Markin September 22nd, 2009 @ 12:36 PM
- Tag set to i18n
Hey guys,
Does everything work for you with Rails 2.3.4 and latest (0.2.2) version of russian?
If not, could you please paste errors? Patches welcome as well.
-
José Valim September 23rd, 2009 @ 12:18 PM
- State changed from new to invalid
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>