Brad Pauly wrote in post #1171299:
> You'll also need to make sure app/services is in autoload_paths in
> application.rb
>
>
https://github.com/JhonnatanMc/Object_Service_RoR/blob/master/prueba/config/application.rb#L14
In application.rb I wrote this line:
config.autoload_paths += %W( #{config.root}/app/services )
--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9bfa79d53b584c1d29fcf6181aa8d634%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment