Ruby on Rails Friday, August 31, 2012

The error says that the route is not found.

For debugging, you need to check your routes.
Try:

rake routes | grep pay_bill

Something should show up, since the tutorials says to put this in the
routes file:

match '/billing', :to => 'billing#create', :as => :pay_bill


Maybe rereading:

http://guides.rubyonrails.org/routing.html#adding-more-restful-actions

helps too


On Fri, Aug 31, 2012 at 1:25 PM, sameena Khan
<emailtosameenakhan@gmail.com> wrote:
> here is the link
> http://www.funonrails.com/search?q=paypal&imageField.x=0&imageField.y=0&max-results=10
>
>
>
> On Fri, Aug 31, 2012 at 4:53 PM, Khan <emailtosameenakhan@gmail.com> wrote:
>>
>> Hi all i found this link for paypal integration and in the process i got
>> this error
>>
>> undefined local variable or method `pay_bill_url'
>>
>> what does it means
>>
>>
>> Cheers
>>
>> Khan
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby on Rails: Talk" group.
>> To post to this group, send email to rubyonrails-talk@googlegroups.com.
>> To unsubscribe from this group, send email to
>> rubyonrails-talk+unsubscribe@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/rubyonrails-talk/-/wbpzRsszeKAJ.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment