Hi,
I have an application using STI on a model named Publisher. Publisher
uses STI via a column named “service”. When I call
p = Publisher.new(…, :service => “TwitterPublisher”)
the service does not get assigned, yet all other columns do. However,
if I later call
p[:service] = “TwitterPublisher”
all is well. Any ideas about what is going on? My environment is
Ruby 1.9/1.8.6 with Rails 2.3.5 running on MinGW(1.9) and Linux (1.8.6
- on Heroku). Any idea as to what is going wrong?
Best Regards,
Solly