Accessing Rails models in schedule.rb

126 views
Skip to first unread message

capr...@gmail.com

unread,
Dec 19, 2014, 1:32:23 PM12/19/14
to whenev...@googlegroups.com
Hi,

Is there a way to access in a simple way, my Rails models in schedule.rb

Capripot

elton...@gmail.com

unread,
Jan 9, 2015, 1:23:40 PM1/9/15
to whenev...@googlegroups.com, capr...@gmail.com
I also need this....

Javan Makhmali

unread,
Jan 9, 2015, 1:29:22 PM1/9/15
to whenev...@googlegroups.com
Whenever doesn’t load your Rails environment, but you’re free to do it yourself. It could be as simple as `require_relative ‘environment`` in your schedule.rb file.




--
--
You received this message because you are subscribed to the Google
Groups "Whenever Gem" group and because you're awesome.
To post to this group, send email to whenev...@googlegroups.com
To unsubscribe from this group, send email to
whenever-gem...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/whenever-gem?hl=en
---
You received this message because you are subscribed to the Google Groups "Whenever Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email to whenever-gem...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Elton Okada

unread,
Jan 9, 2015, 1:32:45 PM1/9/15
to whenev...@googlegroups.com
Ok, thank you

You received this message because you are subscribed to a topic in the Google Groups "Whenever Gem" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/whenever-gem/Sf-4UX4uXwQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to whenever-gem...@googlegroups.com.

Capripot

unread,
Jan 14, 2015, 2:51:04 PM1/14/15
to whenev...@googlegroups.com
Thank you !
Reply all
Reply to author
Forward
0 new messages