Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: using active support without rails
Giles Bowkett
6/12/2007 6:38:00 PM
On 6/12/07, shawn bright <nephish@gmail.com> 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 Bowkett
Blog:
http://gilesbowkett.bl...
Portfolio:
http://www.gilesg...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: using active support without rails
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password