Ruby/Rails syntax
  • Index
  • chap 1
  • chap 2
  • chap 3
  • chap 4
  • Enterprise Rails - big picture
  • Nokogiri
  • ActiveRecord - 進階功能
  • pack & unpack
  • performance
  • rails engine
  • jsonb / json / hstore
  • Deploy
  • Polymorphism/Polymorphic Associations
  • relationship
  • rvm / ENV
  • Auth
  • DB related
  • TODO N+1
  • SQL view
  • module
  • api + create-react-app
  • ONE_LINE
  • Delete & destroy association
Powered by GitBook
On this page

Was this helpful?

relationship

$ rails g model Procedure name:string description:text procedure_svg_file:string
$ rails g migration CreateJoinTableProceduresMolecules procedures molecules
PreviousPolymorphism/Polymorphic AssociationsNextrvm / ENV

Last updated 5 years ago

Was this helpful?