Come to think of it, we have the facilities already there for raising an error when = is used instead of -. Maybe I'll add that to form_for...
On Wed, Feb 24, 2010 at 5:39 AM, Steve Rowley <[email protected]> wrote: > > Don't use = with form_for. Use -. This is just like how you'd use <% %> > in > > ERB rather than <%= %> > > Obviously that worked. Duh. Thanks! Honestly I get lazy with Haml > because it has does such a scary-good job of not only catching these > kinds of errors, but then telling you in plain English how to fix > them. It's the standard against which all other error-catching must be > measured, in my book. > > Thanks for the help. > > -- > 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] <haml%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > > -- 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.
