Displaying 2 results from an estimated 2 matches for "payment_detail".
Did you mean:
payment_details
2007 Jul 11
21
"they" synonym for "it"?
I''ve noticed that I phrase a lot of shared behaviours in plural, eg
describe "All payment_details views"
How about a "they" alias to "it" so you can write
describe "All payment_details views", :shared => true do
they "should have a card number field" do
# ...
end
end
WDYT?
Ashley
2006 Mar 14
4
Two Customer Types - Best Design Principle?
...customer])
@customer.id = tmp_customer.id
@customer.level = ''full''
if @customer.update_attributes(@customer)
flash[:notice] = "Customer details upgraded successfully."
redirect_to(:action => ''payment_details'')
else
render(:action => ''checkout'')
end
else
@customer = Customer.new(params[:new_customer])
@customer.level = ''full''
if @customer.save
flash[:notice...