Sunday, August 5, 2012

[Rails] Re: Please, help to solve the problem



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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
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.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate