Forum: Ruby on Rails What is Formtastic and SimpleForm gem Is any one of this is by default included in Rails ?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
576908ab294e24dadb3303a6667b8776?d=identicon&s=25 fahim patel (fahim_patel)
on 2012-10-31 07:36
(Received via mailing list)
Hi all,

I read  Formtastic and SimpleForm gem.

I am using 3.4

Q 1  Is any one of this is by default included in Rails ?

Q2   Any advantage of this gems over  simple form tags ?

As per my knowledge we are using form helper , but still i raised  the
qustion ?


Thanks

Regards

Fahim Babar Patel
52f3528c40e9cf28ad0900886eecb128?d=identicon&s=25 Jordon Bedwell (Guest)
on 2012-10-31 10:48
(Received via mailing list)
Hi,

On Wed, Oct 31, 2012 at 1:35 AM, Fahim Patel <pafahim@gmail.com> wrote:
> Q 1  Is any one of this is by default included in Rails ?

No.

> Q2   Any advantage of this gems over  simple form tags ?

For me, most of the time there is not, actually they add overhead IMO
(at least for my purposes) so I actually just build meta-form-wrapper
helpers that generate generic left_text_area and other methods like it
that just add the classes I need for forms and wrap the <section>'s
around the generic helpers that Rails already provides. That is,
instead of including another dependency that I don't need, but for
some people they bring great benefit because they can handle HTML from
step 1 to end, I don't like that because I prefer to directly control
every bit of output my app makes.

Only you can evaluate whether or not they are worth it, it's a battle
of your own to fight, I can honestly say I would use them if I
actually had a use for them, and many people will agree they have a
use for them, but I personally don't have a use for them so I choose
not to use them.  You have to evaluate that for yourself.
576908ab294e24dadb3303a6667b8776?d=identicon&s=25 fahim patel (fahim_patel)
on 2012-11-01 07:01
(Received via mailing list)
Thanks lot to clear this topic.

Regads
Fahim Babar Patel
This topic is locked and can not be replied to.