Ruby on Rails Sunday, March 8, 2015

On Fri, Mar 6, 2015 at 10:38 PM, Colin Law <clanlaw@gmail.com> wrote:
> How does that provide the quotations route?
>
> If you run rake routes you will see all the routes that defines.
>
> Did you work right through a good tutorial such as railstutorial.org
> as I suggested you did a little time ago?

Error Solved :)

I used to solve error by changing method name in pages_controller.rb file.

s / def mercury_update / def update

def update
page = Page.find(params[:id])
page.subject = params[:content][:page_subject][:value]
page.save!
render text: ''
end

Thanks for help.

--
Cheers!

Deepak Kumar Sharma
Blog: http://deekysharma.wordpress.com

" Mistakes are proof that you are trying "

--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CALDHwN64nxa4wy7BzKuQVqJQQYLZFmoieUCj2Hx8meOo6pHkdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment