Re: Render Rails templates in Clojure?

2016-03-30 Thread Igor Bondarenko
d want to keep >> our Rails templates during the transition time. Is there a way to render >> Rails templates in Clojure (or Java)? >> >> The reason we need this is because templates will probably change at the >> same time as transition happens and we don

Re: Render Rails templates in Clojure?

2016-03-29 Thread Erwin Kroon
eryone! > > We're planning on moving our Rails app to Clojure and would want to keep > our Rails templates during the transition time. Is there a way to render > Rails templates in Clojure (or Java)? > > The reason we need this is because templates will probably change at t

Re: Render Rails templates in Clojure?

2016-03-26 Thread Blake Miller
Pure ruby haml rendering ought to work in jruby, and you could call it from clojure... you would just need to inject values into the jruby scope, taking the place of a rails controller. That seems a bit kludgey, but perhaps if you have tons of templates it might be worth it to avoid rewriting t

Re: Render Rails templates in Clojure?

2016-03-26 Thread Igor Bondarenko
you > just using erb? > > - James > > On 25 March 2016 at 11:41, Igor Bondarenko > wrote: > >> Hi everyone! >> >> We're planning on moving our Rails app to Clojure and would want to keep >> our Rails templates during the transition time. Is there a way

Re: Render Rails templates in Clojure?

2016-03-25 Thread James Reeves
ing the transition time. Is there a way to render > Rails templates in Clojure (or Java)? > > The reason we need this is because templates will probably change at the > same time as transition happens and we don't want to update them in two > different places/templating languages.

Render Rails templates in Clojure?

2016-03-25 Thread Igor Bondarenko
Hi everyone! We're planning on moving our Rails app to Clojure and would want to keep our Rails templates during the transition time. Is there a way to render Rails templates in Clojure (or Java)? The reason we need this is because templates will probably change at the same time as trans