search for: cwop

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

Did you mean: cop
2011 Apr 15
2
sti + namespace
...:weather_stations do |t} t.string :callsign t.string :type # for STI t.timestamp attempted_at # be nice to webmasters t.timestamp succeeded_at end ... and my directory structure is: apps/models/WeatherStation.rb apps/models/weather_stations/noaa.rb apps/models/weather_stations/cwop.rb apps/models/weather_stations/wolfram.rb ... etc. So: are there any special considerations in this approach? The docs talk about namespacing models, and talk (briefly) about STI, but not together. Do I have to do anything special with table_name_prefix or descends_from_active_record? ? I'...