On 11 October 2016 at 08:42, kinoe - <kinoe48@gmail.com> wrote:
> this step''
> 1.mke contrl Article index create new
> 2.mke mdel save title:string isi:text
> 3.in ArticelControl
> def index
> @sav = Save.all
> end
> def new
> @sav = Save.new
> end
> def create
> @sav = Save.new(article_params)
> @sav.save
> redirect_to :action => index
> end
>
>
> this too long.problem.after create method finish and data in. above table in index.html.erb show to like json otherwise i cant make json?
Sorry, I cannot understand your question, I assume English is not your
first language. Please try to ask it again, possibly you could ask
someone to help you to translate it.
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 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/ff49c569-a7cc-48ed-bfc7-17d5aaf90ff9%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
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/CAL%3D0gLuddEUnMFH1zPY75Yxj3-%3DeJJo%2B1zv0UnaJytdP%3DQFSqg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment