Re: [Rails] ask remove json after create(crud) manual

2016-10-14 Thread kinoe -
Do you understand the difference? if not then make sure you read up on it. =>not,from doc to save note. so you know when to use <%= and when to use <% =><%= when using form helper. =><% from that i ever try. when using ruby code if,unless,etc. adding.. this question make me want know,than i

Re: [Rails] ask remove json after create(crud) manual

2016-10-14 Thread Colin Law
On 14 October 2016 at 07:23, kinoe - wrote: > it's correct.thanks colin.i think if i want using ruby on rails, i have > not using = after <%. like statement. > Do you understand the difference? if not then make sure you read up on it so you know when to use <%= and when to

Re: [Rails] ask remove json after create(crud) manual

2016-10-14 Thread kinoe -
it's correct.thanks colin.i think if i want using ruby on rails, i have not using = after <%. like statement. -- 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

Re: [Rails] ask remove json after create(crud) manual

2016-10-13 Thread Colin Law
On 13 October 2016 at 03:17, kinoe - wrote: > this code: > Artikel#index > > <% if @save.blank? %> > data nothing > > <%= link_to "buat baru", artikel_new_path %> > <% else %> > > > > Title > Isi > Desc > > > <%= @save.each do |ss| %> > You have <%= instead of

Re: [Rails] ask remove json after create(crud) manual

2016-10-12 Thread kinoe -
this code: Artikel#index <% if @save.blank? %> data nothing <%= link_to "Make new", artikel_new_path %> <% else %> Title Isi Desc <%= @save.each do |ss| %> <%= ss.title %> <%= ss.isi %> <%= link_to "Desc", {:action => "show",:id => ss.id} %> <% end %> <% end %>

Re: [Rails] ask remove json after create(crud) manual

2016-10-12 Thread kinoe -
this code: Artikel#index <% if @save.blank? %> data nothing <%= link_to "buat baru", artikel_new_path %> <% else %> Title Isi Desc <%= @save.each do |ss| %> <%= ss.title %> <%= ss.isi %> <%= link_to "Desc", {:action => "show",:id => ss.id} %> <% end %> <% end %>

Re: [Rails] ask remove json after create(crud) manual

2016-10-12 Thread Colin Law
On 12 October 2016 at 01:53, kinoe - wrote: > > > I am sorry for my langguage. this above screenshot: what is wrong. I can't > using 'rails g

Re: [Rails] ask remove json after create(crud) manual

2016-10-11 Thread kinoe -
I am sorry for my langguage. this above screenshot: what is wrong. I can't using 'rails g scaffold'. thanks.Colin Law -- You received this message because you are

Re: [Rails] ask remove json after create(crud) manual

2016-10-11 Thread Colin Law
On 11 October 2016 at 08:42, kinoe - 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 >