Displaying 1 result from an estimated 1 matches for "succeeded_at".
2011 Apr 15
2
sti + namespace
...#39;d like to gather all the
subclasses into a subdirectory (that''s aka namespace, right?).
The table will be something like:
create_table :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...