Ruby script inherit model data

Is there a way that a regular cli script can inherit all of the rails
active record methods? I am trying to run a script from the cli so
work on the associations between models but I am not sure how to get
the active record methods to use.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs