Using active support without rails

hello there all,
a few weeks ago, i asked about how i may use active record in ruby
scripts,
now i want to be able to use some of the helpers from Active Support.
how would i go about being able to access those classes like i would be
able
to in a rails app?
thanks.
shawn

1 Like

On 6/12/07, shawn bright [email protected] wrote:

hello there all,
a few weeks ago, i asked about how i may use active record in ruby scripts,
now i want to be able to use some of the helpers from Active Support.
how would i go about being able to access those classes like i would be able
to in a rails app?
thanks.
shawn

it’s easy, just require the gem:

giles-computer:giles [06-12 11:36] ~
! irb

require ‘active_support’
=> true

7.days.from_now
=> Tue Jun 19 11:36:41 -0700 2007


Giles B.

Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org

This is great, thanks much
shawn

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