Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C chouette-core-tmp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • chouette-core-tmp
  • Wiki
  • Rails models

Rails models · Changes

Page history
Rails models: Translate to English authored Apr 03, 2018 by Teddy Wing's avatar Teddy Wing
Keep the unfinished parts in a similar state.
Hide whitespace changes
Inline Side-by-side
Showing with 10 additions and 11 deletions
+10 -11
  • Rails-models.md Rails-models.md +10 -11
  • No files found.
Rails-models.md
View page @ e7f91621
## Modèle Référentiel ## `Referential` model
Pas de has_many mais des méthodes?? Methods instead of `has_many` associations??
## Modèle lié à un Réferentiel ## Model associated with a `Referential`
### Support du Référentiel ### `Referential` support
Les classes ayant une relation avec un Référentiel doivent : Classes with an association to `Referential` must:
* inclure le module ReferentialSupport * include the `ReferentialSupport` module
* ne pas avoir de "belongs_to referential" car un Référentiel = un schéma PostgreSQL * not have a `belongs_to :referential` association because each `Referential` is a separate Postgres schema
```ruby ```ruby
``` ```
### Gestion des objectid ### Objectids
Les objectids ne sont pris en compte que dans les modèles contenus dans un Référentiel. Objectids are only used on models contained in a `Referential`. Here's an example:
Vous trouverez ci-dessous un exemple d'utilisation.
```ruby ```ruby
``` ```
## Modèle en dehors d'un Réferentiel ## Model not associated with a `Referential`
```ruby ```ruby
``` ```
......
Clone repository
  • Class Diagram
  • Data Models
  • Home
  • Optional Features
  • Rails Controller
  • Rails I18n
  • Rails migrations
  • Rails models
  • Rails spec
  • Rails views
  • Seed database