lic (at crd)
Not a member
lic (at crd)'s latest activity
Thursday, February 10 2011
-
lic (at crd) commented at 2:51 PMI made it work in rspec I guess the issue was calling the wrong assertion method.
describe "Routes" do it "should route update profile from Flash" do {:p... -
lic (at crd) commented at 11:24 AMCould it be a bug in ActionDispatch::Assertions::RoutingAssertions ?
-
lic (at crd) commented at 10:53 AMWeird thing...
rake routes | grep profile api_profile_sessions POST /api/profile_sessions(.:format) {:action=>"create", :controller=>"api/profile_session... -
lic (at crd) commented at 10:40 AMSuperb!
I didn't know that the :path option could override inbuilt defaults!
That's perfect!Thank you for helping out! I own you a beer!
-
lic (at crd) commented at 9:59 AMYeps that is a possibility. We can also do this in the route
namespace :api do resources :profiles, :only => [:show, :create] match '/profiles/:id/update(....
-
lic (at crd) commented at 9:01 AMSorry Andrew but I can't pass a _method=put. My payload is XML or JSON.
Wednesday, February 09 2011
6397
Routing when member name is update
was updated
in Ruby on Rails
-
lic (at crd) commented at 1:26 PMSo far I have fixed with a workaround
namespace :api do resources :profiles, :only => [:show, :create] end match '/api/profiles/:id/update(.:format)' => 'pro... -
lic (at crd) created the ticket at 1:19 PMHi I have a weird situation with routing and member
Looks like thatpost 'update', :on => :membermisbehaves.
LONG STORY: I need to integrate a backend to Ado...