aboutsummaryrefslogtreecommitdiffstats
path: root/spec/javascript
diff options
context:
space:
mode:
authorTeddy Wing2017-09-19 16:46:22 +0200
committerTeddy Wing2017-09-19 16:46:22 +0200
commit30fc0d3f1a9a158a0d45bbaf2f78e176f74ac943 (patch)
tree942faf06cecded71319340a0f1f9b19a47336060 /spec/javascript
parent2f555897bff3f8fa6dd5e9e0c6d48f0073edc349 (diff)
downloadchouette-core-30fc0d3f1a9a158a0d45bbaf2f78e176f74ac943.tar.bz2
ModelAttribute: Add `ModelAttribute`s for a bunch of models&attributes
We want to define `ModelAttribute`s for an initial set of `Chouette` models: * Chouette::Route * Chouette::JourneyPattern * Chouette::VehicleJourney * Chouette::Footnote * Chouette::TimeTable * Chouette::RoutingConstraintZone I added these by looking at the `schema.rb` as well as some form views for these models. Given that information, I made some guesses about what attributes it might make sense to add here. We want to end up with a collection of only editable attributes for these models, so this excludes things like `created_at`, foreign keys, and programmatically set fields. This is my guess at what those fields are. We can refine the list later. We'll be using this list for Compliance Control to get a set of fields of a given type in order to create custom validations using those fields. Refs #4401
Diffstat (limited to 'spec/javascript')
0 files changed, 0 insertions, 0 deletions