Displaying 1 result from an estimated 1 matches for "order_url".
2009 Jul 13
3
undefined method error from atom builder
...Atom Builder is blowing up with an undefined
method error that I can''t figure out. It seems to be failing when the
ActiveRecord instance is passed to the ''entry'' method and it tries to
build the URL via the ''polymorphic_url'' method. There is no
''order_url'' method, field or database column, so I''m at a loss.
Error message - undefined method `order_url'' for #<ActionView::Base:
0x25e3560>
Code snippet that''s failing (line 7) -
4:
5: for order in @orders
6:
7: feed.entry(order) do |entry|
8:
Stack trace o...