On Sunday, August 5, 2012 7:05:11 PM UTC+3, Ruby-Forum.com User wrote:
>
>
> Since this statement works fine if all of Rails is loaded then you must 
> still be missing some required files. 
>
>
> $ rails c 
> Loading development environment (Rails 3.2.7) 
> irb(main):001:0> Date.current 
> => Sun, 05 Aug 2012 
> irb(main):002:0> 0.months.since Date.current 
> => Sun, 05 Aug 2012 
>
> -- 
> Posted via http://www.ruby-forum.com/. 
>

Yes, in rails it works, I know. But I do not need to load the whole 
framework for just the data manipulation. What file is missing to load? 
 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/SC86H6UDa7oJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to