xx = AdDetailCar.new(annonce_id => 1, :color => ...)
a = Ad.first
then I can access to ad.ad_detail without anyproblem.
Do I do anything bad ?
PS : another question, I install your gem with Gemfile, and the version I get is not the same than on github and have some small bugs
for instance in inputs/base/collection.rb
def send_or_call_or_object(duck, object)
return object if object.is_a?(String) # TODO what about other classes etc?
send_or_call(duck, object)
end
whereas it should be according to github
def send_or_call_or_object(duck, object)
return object if object.is_a?(String) || object.is_a?(Integer) # TODO what about other classes etc?
send_or_call(duck, object)
end
this is oly bug I found, many there are other. Im quite new in RoR, it there a way to directly have the good version on Gemfile ?
Hi
first thanks for this gem, very usefull but im faced to a problem here my models
when Im trying to do
then I have this error
what is more strange is that it I do this,
then I can access to ad.ad_detail without anyproblem.
Do I do anything bad ?
PS : another question, I install your gem with Gemfile, and the version I get is not the same than on github and have some small bugs for instance in inputs/base/collection.rb
whereas it should be according to github
this is oly bug I found, many there are other. Im quite new in RoR, it there a way to directly have the good version on Gemfile ?
thanks