Re: [Rails] Head first rails Mebay application

2015-09-08 Thread tamouse pontiki
On Mon, Sep 7, 2015 at 2:40 PM, Colin Law wrote: > On 6 September 2015 at 15:00, tamouse pontiki > wrote: > > > > On Fri, Sep 4, 2015 at 1:21 AM, Colin Law wrote: > >> > >> On 3 September 2015 at 21:56, Priya Mohan

Re: [Rails] Head first rails Mebay application

2015-09-07 Thread Colin Law
On 6 September 2015 at 15:00, tamouse pontiki wrote: > > On Fri, Sep 4, 2015 at 1:21 AM, Colin Law wrote: >> >> On 3 September 2015 at 21:56, Priya Mohan wrote: >> > 6.config/routes.rb >> > >> > controller 'ads' do >> >

Re: [Rails] Head first rails Mebay application

2015-09-06 Thread tamouse pontiki
On Fri, Sep 4, 2015 at 1:21 AM, Colin Law wrote: > On 3 September 2015 at 21:56, Priya Mohan wrote: > > 6.config/routes.rb > > > > controller 'ads' do > >match 'ads/:id' => :show > > match 'ads/:id' => :index > >end > > As for

Re: [Rails] Head first rails Mebay application

2015-09-04 Thread Colin Law
On 3 September 2015 at 21:56, Priya Mohan wrote: > I am using rails 3 and the steps that I have done > > 1.rails new MeBay > > 2.rails g model ad name:string description:text price:decimal > seller_id:integer email:string imr_url:string > > 3.rake db:migrate > > 4.rails

[Rails] Head first rails Mebay application

2015-09-03 Thread Priya Mohan
I am using rails 3 and the steps that I have done 1.rails new MeBay 2.rails g model ad name:string description:text price:decimal seller_id:integer email:string imr_url:string 3.rake db:migrate 4.rails generate controller ads 5.show.html.erb Name:<%=

[Rails] Head first rails Mebay application

2015-09-03 Thread Priya Mohan
I am using rails 3 and the steps that I have done 1.rails new MeBay 2.rails g model ad name:string description:text price:decimal seller_id:integer email:string imr_url:string 3.rake db:migrate 4.rails generate controller ads 5.show.html.erb Name:<%=