Possibly, but I'm seeing it on several different 2.2.2 apps:
Controller:
def new
@user = User.new
respond_to do |format|
format.html
end
end
View:
users/new.html.haml
%h1 New User
- form_for(@user) do |f|
= f.error_messages
%p
= f.submit(:Update)
= link_to(:Back, users_url)
Stack Trace is:
Showing app/views/users/new.html.haml where line #3 raised:
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.<<
Extracted source (around line #3):
1: %h1 New User
2:
3: - form_for(@user) do |f|
4: = f.error_messages
5: %p
6: = f.submit(:Update)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" 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/haml?hl=en
-~----------~----~----~----~------~----~------~--~---