0)
ActionView::TemplateError (undefined local variable or method `message' for
#<ActionView::Base:0xb6080e74>) on line #32 of
app/views/layouts/application.html.erb:
29:
30:
31: <body class="bodybckgrnd">
32: <% message.each do |name, msg| %>
33: <%= content_tag :div, msg, :id => "flash_#{name}" %>
34: <% end %>
1)the problem occurs after hitting the submit button, meaning after the
validation failes
2)old rails app > restful_authentication
3)login form is more or less basic functionailty, but quite a few fields.
ill stripp it down later.
thx
On Mon, Oct 25, 2010 at 11:17 AM, radhames brito <[email protected]> wrote:
>
>
> On Mon, Oct 25, 2010 at 11:08 AM, tom <[email protected]> wrote:
>
>> user-controller:
>>
>> flash[:error] [email protected]
>> flash[:notice] = "Error SignUp - pls try again - Support has been
>> contacted!"
>>
>>
>> application.html
>> <body class="bodybckgrnd">
>> <% if flash[:notice] -%>
>> <%= flash[:notice]%>
>> <%= flash[:error]%>
>> <% end -%>
>>
>> first change this mess to this
>
> <% message.each do |name, msg| %>
> <% = content_tag :div, msg, :id => "flash_#{name}" %>
>
>
>> #i reduced it to the minimum. the user signup form is just a regular
>> form....
>>
>> what else can i provide?
>>
>> thx for ur help!
>>
>>
>> now look at this
>
> flash[:error] [email protected]
>>
>
> this is what you are seen, so what i want to know is,
>
> 1) do you see this when you try to login or just by trying to access the
> root page?
> 2) what are you using for authentication?
> 3) can you post the login form?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.