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?

-- 
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+unsubscr...@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.

Reply via email to