Re: [Rails] Setting foreign keys, yet record.association_name returning nil

2015-09-06 Thread Sadaf Noor
good point but nope, they are not nil 2015-09-06 10:39 GMT+06:00 Jim Ruther Nill : > > > On Saturday, September 5, 2015, Sadaf Noor wrote: > >> Also posted at stackoverflow: >>

Re: [Rails] Setting foreign keys, yet record.association_name returning nil

2015-09-06 Thread Colin Law
On 6 September 2015 at 07:54, Sadaf Noor wrote: > good point but nope, they are not nil > What do the following show? puts TShirt.last.inspect puts product.inspect puts Tshirt.last.product.inspect and copy/paste the start of t_shirt.rb showing the associations Colin --

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] Errno::ENOENT (No such file or directory - identify -quiet -ping

2015-09-06 Thread tamouse pontiki
On Fri, Sep 4, 2015 at 10:05 AM, Richard Beardwood wrote: > Errno::ENOENT (No such file or directory - identify -quiet -ping This is your issue. You don't have the identify program on your path. As I don't know Windows at all, I can't help you get it there, other than to