Re: [Rails] uninitialized constant ActiveResource::UnauthorizedAccess

2012-08-08 Thread Rafi A
On Wed, Aug 8, 2012 at 3:21 PM, Colin Law wrote: > On 8 August 2012 05:57, Rafi A wrote: > > Hi, > > > > This is resolved. I copied the 'activeresource-3.0.0' gem folder from the > > source folder of rails3 and pasted under the 'config/initializers' > folder of > > my rails3 application. So the

Re: [Rails] uninitialized constant ActiveResource::UnauthorizedAccess

2012-08-08 Thread Colin Law
On 8 August 2012 05:57, Rafi A wrote: > Hi, > > This is resolved. I copied the 'activeresource-3.0.0' gem folder from the > source folder of rails3 and pasted under the 'config/initializers' folder of > my rails3 application. So the below code snippet available in > application_controler.rb file i

Re: [Rails] uninitialized constant ActiveResource::UnauthorizedAccess

2012-08-07 Thread Rafi A
Hi, This is resolved. I copied the 'activeresource-3.0.0' gem folder from the source folder of rails3 and pasted under the 'config/initializers' folder of my rails3 application. So the below code snippet available in application_controler.rb file is working fine as expected. class ApplicationCont

Re: [Rails] uninitialized constant ActiveResource::UnauthorizedAccess

2012-08-07 Thread Colin Law
On 7 August 2012 09:25, Rafi A wrote: > Colin, > > Thanks for your reply. Surfed over both sides of Google but not able to get > the apt solution. I am using the below code snippet in Application > controller file so that all the flows will inherit. > > 'rescue_from ActiveResource::UnauthorizedAcc

Re: [Rails] uninitialized constant ActiveResource::UnauthorizedAccess

2012-08-07 Thread Rafi A
Colin, Thanks for your reply. Surfed over both sides of Google but not able to get the apt solution. I am using the below code snippet in Application controller file so that all the flows will inherit. 'rescue_from ActiveResource::UnauthorizedAccess, :with => :render_401' But while invoking the

Re: [Rails] uninitialized constant ActiveResource::UnauthorizedAccess

2012-08-07 Thread Colin Law
On 7 August 2012 09:00, Rafi A wrote: > Hi, > > I am getting the error "uninitialized constant > ActiveResource::UnauthorizedAccess" while executing the rails3 application. > > Below are my package details: > > Rails 3.0.0 > Ruby 1.8.7 > activeresource (3.0.0, 2.3.4) > > Suggestions are welcome!

[Rails] uninitialized constant ActiveResource::UnauthorizedAccess

2012-08-07 Thread Rafi A
Hi, I am getting the error "uninitialized constant ActiveResource::UnauthorizedAccess" while executing the rails3 application. *Below are my package details:* * * *Rails 3.0.0* *Ruby 1.8.7* *activeresource (3.0.0, 2.3.4)* Suggestions are welcome! Regards, Seeni Rafiyullah Khan A, *In Every mome