Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Problem with error_messages_for in Rails 2.3.4

#3172

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] %>

Reported by Alex Soulim · September 9th, 2009 @ 12:12 PM

State: invalid
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. lda
    lda

    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)

    September 11th, 2009 @ 04:43 AM

  2. Alex Soulim
    Alex Soulim

    Thank you Ida.
    You were right. The problem was in old yaroslav-russian plugin.

    September 18th, 2009 @ 02:12 PM

  3. Yaroslav Markin
    Yaroslav Markin
    • 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.

    September 22nd, 2009 @ 12:36 PM

  4. José Valim
    José Valim
    • State changed from new to invalid

    September 23rd, 2009 @ 12:18 PM