Ruby on Rails Tuesday, June 30, 2015

Hello...
I would like to use Formtastic and set Formtastic configs inside a Rails Engine, without having those changes to form helpers/config 'leak' into my main application. 

Specifically I am trying to isolate an implementation of Formtastic that is customized for Bootstrap 3 to within my engine, without having the main app's form helpers start using the same markup.

I could specify the ":builder"  option in all my main app's calls to form helpers to override this 'leak', however it would probably be better for the engine's helpers not to leak into the main app in the first place?

Can anyone please offer some insight on how to go about that?

Any help appreciated,
-S

--
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/f7e45eb0-ae1b-416f-880f-271ceb1db6b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment