Displaying 2 results from an estimated 2 matches for "customer_path".
Did you mean:
customers_path
2012 Aug 15
0
Devise access customer information without password
...tton_accept" %>
</div>
<% end %>
However when seeing the view at
http://localhost:3000/settings/1/edit#account
I get the following errors
NoMethodError in Settings#edit
Showing /home/jean/rail/voyxe/app/views/settings/_email.html.erb where
line #1 raised:
undefined method `customer_path'' for #<#<Class:0xb49b1838>:0xb49b0244>
Extracted source (around line #1):
1: <%= form_for(@customer) do |f| %>
2: <fieldset>
3: <div class="cus">
4: <%= f.label :email %>
I don''t understand where customer_path his from....
2007 Oct 01
0
View Spec - Misbehaving
...in
> `url_for''
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/helpers/url_helper.rb:27:in
> `send''
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/helpers/url_helper.rb:27:in
> `url_for''
> (eval):19:in `unsafe_customer_path''
> #{RAILS_ROOT}/lib/url_helper_advice.rb:21:in `customer_path''
> #{RAILS_ROOT}/app/helpers/application_helper.rb:19:in
> `parent_org_path''
> #{RAILS_ROOT}/app/views//player_containers/show.rhtml:11:in
> `_run_rhtml_47app47views47player_containe...