Displaying 2 results from an estimated 2 matches for "profile_email".
2006 Aug 27
1
created scaffold, failing when creating new?
....include?) on line #5 of
app/views/admin/_form.rhtml:
2:
3: <!--[form:profile]-->
4: <p><label for="profile_name">Name</label><br/>
5: <%= text_field ''profile'', ''name'' %></p>
6:
7: <p><label for="profile_email">Email</label><br/>
8: <%= text_field ''profile'', ''email'' %></p>
any reason why scaffolding new option is failing? i tried it on another
rails application and it works fine. the only difference is that my
table ''profi...
2006 May 11
1
RoR completely ignoring a column when saving changes
...;', ''UK''],
[''South America'', ''South America''],
[''Europe'', ''Europe''],
[''Asia'', ''Asia''] ] %>
</p>
<p><label for="profile_email">Email Address</label><br />
<%= text_field ''profile'', ''email'', :class => ''text_medium'' %></p>
</div>
[/CODE]
I suspect it may be a model validation problem, but i''ve removed all
validations...