lib/rail_trip/characterization.rb in rail_trip-0.0.12 vs lib/rail_trip/characterization.rb in rail_trip-0.0.13
- old
+ new
@@ -22,10 +22,11 @@
# these attributes accessors based on database schema. The characteristics
# listed here define the standard public API to RailTrip.
base.characterize do
has :rail_class
has :duration, :measures => :time
- has :distance_estimate, :trumps => :duration, :measures => :length
+ has :distance, :measures => :length
+ has :date
end
# Additional characteristics are gleaned from the carbon model.
end
end