On Saturday, December 21, 2013 4:21:08 PM UTC-6, Colin Law wrote:
>
> On 21 December 2013 21:56, Aniruddha Barapatre 
> <[email protected] <javascript:>> wrote: 
> > ... 
> > I think we've some miscommunication over here. 
>
> Yes you are correct. 
>
> > I created a new rails app -- rails new dummy 
> > ... 
> > If I give cmd -- rails server, it runs successfully. 
> > 
> > Although if I go back to my earlier app Profile, I am still unable to 
> start 
> > server. 
>
> OK, now I understand.  So the problem is something to do with your 
> other app.  Does it use Devise?  I ask because googling for 
> rescue in execute_if_updated 
> shows a number of people having that problem with Devise.  See 
>
> http://stackoverflow.com/questions/16653431/devise-not-working-with-rails-4-0rc1
>  
> for example. 
>
> Googling for error messages can often be useful. 
>

Thanks Colin. It helped a lot.
It seems I had issues in my config/route file.

I had created a new home page and had defined 'home' method.
This code was causing further issues -- 

  route to: "profile#home"
 

>
> Colin 
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/d5e8f7bd-4c2f-4975-a261-0899665cf458%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to