We are looking at ruote for adding workflow to our rails 3.1.4 app
with html/erb. What's the best approach for us to add ruote to our
rails 3.1.4 app?
The ruotekit is based sinatra and haml and there are some rails
examples which are based on ruotekit. But we are hesitating to
introduce a new framework sinatra into our rails app. We want to see
if there is option to integrate ruote and rails together.
We posted the similar questions before. We have been spending time on
ruotekit and other ruotekit based rails examples with some progress.
However we don't feel comfortable to introduce sinatra into our rails
app concerning the learning curve for two frameworks. We want to focus
on rails. The purpose of this post is to see if someone can provide
solid example or path with detail for the integration (between ruote
and rails only). Thanks so much.
On May 27, 9:45 pm, emc_lab <emclab2...@gmail.com> wrote:
> We are looking at ruote for adding workflow to our rails 3.1.4 app
> with html/erb. What's the best approach for us to add ruote to our
> rails 3.1.4 app?
> The ruotekit is based sinatra and haml and there are some rails
> examples which are based on ruotekit. But we are hesitating to
> introduce a new framework sinatra into our rails app. We want to see
> if there is option to integrate ruote and rails together.
You can use Ruote without Ruote-Kit. Ruote-Kit is an implementation of a ruote client/wrapper that is written in sinatra. I find it useful to still include in my rails app as a debugging/administrative tool. However you dont need to and shouldn't have to use it at all.
Just assign access via a constant to Ruote::Engine.new(RUOTE_STORAGE) (or whatever storage you are using) in ruote_initializer.rb and you will be fine.
On Monday, May 28, 2012 4:45:09 AM UTC+1, emc_lab wrote:
> Hi,
> We are looking at ruote for adding workflow to our rails 3.1.4 app > with html/erb. What's the best approach for us to add ruote to our > rails 3.1.4 app?
> The ruotekit is based sinatra and haml and there are some rails > examples which are based on ruotekit. But we are hesitating to > introduce a new framework sinatra into our rails app. We want to see > if there is option to integrate ruote and rails together.
> You can use Ruote without Ruote-Kit. Ruote-Kit is an implementation of a
> ruote client/wrapper that is written in sinatra. I find it useful to still
> include in my rails app as a debugging/administrative tool. However you
> dont need to and shouldn't have to use it at all.
> Just assign access via a constant to Ruote::Engine.new(RUOTE_STORAGE) (or
> whatever storage you are using) in ruote_initializer.rb and you will be
> fine.
> On Monday, May 28, 2012 4:45:09 AM UTC+1, emc_lab wrote:
> > Hi,
> > We are looking at ruote for adding workflow to our rails 3.1.4 app
> > with html/erb. What's the best approach for us to add ruote to our
> > rails 3.1.4 app?
> > The ruotekit is based sinatra and haml and there are some rails
> > examples which are based on ruotekit. But we are hesitating to
> > introduce a new framework sinatra into our rails app. We want to see
> > if there is option to integrate ruote and rails together.
It's not yet complete, I still have to add a section about participant
registration (should it go in the initializer or the worker script) and
re-read it.
If you need clarifications about it (all of you), please manifest yourselves
here.