Friday, January 28, 2011

[Rails] Re: different load order in rails console vs rspec tests?

Fearless Fool wrote in post #978285:
> ... Do I create my
> own, e.g. $ROOT/config/initializers/my_extensions.rb?

FWIW, I simply created a $ROOT/config/initializers/my_extensions.rb file
and populated it with:

require 'my_extensions'

... and rspec is all happy. Let me know if that's not the right way to
go. Thanks for getting me pointed in the right direction.

- ff

--
Posted via http://www.ruby-forum.com/.

--
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.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate