Displaying 2 results from an estimated 2 matches for "make_pay".
Did you mean:
make_pa
2007 Jan 27
0
Interchanging ActiveRecord and ActionWebService... Help with my problem and suggestions for Best Practices.
...ActiveRecord or ActionWebService. So I''m trying to handle
this "switch" as transparently as possible.
I''m totally open to suggestions..
Thanks,
Jason
I''m getting the following error:
NoMethodError in Offer renewalController#payment_made
undefined method `make_payment'' for WebservicePaymentApi:Class
Source:
class WebservicePaymentApi < ActionWebService::API::Base
require ''contract_payment''
api_method :make_credit_card_payment,
:expects => [{:contract_id => :int},
{:amount => :float},...
2010 Aug 13
11
Link to remote and the equivalent in Rails 3
...OW! Is Rails 3 another interesting learning curve. Just when I think
I have a general working knowledge of Rails 2 ... things change.
I''m trying to replicate the following in Rails 3:
<%= link_to_remote image_tag("creditcard.png", :border => 0), :url =>
{:action => :make_payment, :type => "Credit", :id =>
@appt.id }, :with=>"''amount=''+$F(''amount'')", :complete =>
remote_function( :url => { :action => :load_appt, :id => @appt.id })
%>
Obviously, when I click a link, I want some action and co...