search for: twitterpublish

Displaying 1 result from an estimated 1 matches for "twitterpublish".

Did you mean: twitterpublisher
2010 Feb 08
1
Model using STI new function only working partially
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)....