# Plugin problems: "simply\_helpful"

**URL:** <https://www.ruby-forum.com/t/plugin-problems-simply-helpful/141190>\
**Category:** Rails\
**Created:** [June 23, 2008, 12:58pm UTC](https://www.ruby-forum.com/t/plugin-problems-simply-helpful/141190 "2008-06-23T12:58:44Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidtl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/35a633/32.png) [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Post date:** [June 23, 2008, 12:58pm UTC](https://www.ruby-forum.com/t/plugin-problems-simply-helpful/141190/1 "2008-06-23T12:58:44Z")

</div>

I read at  
[http://matthewman.net/2006/09/04/new-rails-feature-simply\_helpful/](http://matthewman.net/2006/09/04/new-rails-feature-simply_helpful/) that  
“simply\_helpful” would introduce a new syntax for the form\_for helper.

But even though the plugin is installed (I know that because the dom\_id  
and dom\_class method works) it still doesn’t add the id and class to the  
form automatically, or point to the update/create action like it should  
do, according to the forementioned blog post.

What could be wrong? Any others having problem with this plugin? There’s  
is nothing in the README  
([http://svn.rubyonrails.org/rails/plugins/legacy/simply\_helpful/](http://svn.rubyonrails.org/rails/plugins/legacy/simply_helpful/)).

Thanks in advance,  
Datra.

---

<div class="post-metadata">

**Author:** ![davidtl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/35a633/32.png) [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Post date:** [June 23, 2008, 1:05pm UTC](https://www.ruby-forum.com/t/plugin-problems-simply-helpful/141190/2 "2008-06-23T13:05:58Z")

</div>

On 23 Jun 2008, at 11:58, David T. wrote:

> form automatically, or point to the update/create action like it  
> should  
> do, according to the forementioned blog post.
> 
> What could be wrong? Any others having problem with this plugin?  
> There’s  
> is nothing in the README  
> ([http://svn.rubyonrails.org/rails/plugins/legacy/simply\_helpful/](http://svn.rubyonrails.org/rails/plugins/legacy/simply_helpful/)).

simply\_helpful is obsolete. that functionality was rolled into rails 2  
(and having both the rails 2 version and the plugin there is probably  
confusing things)

Fred

---

<div class="post-metadata">

**Author:** ![davidtl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/35a633/32.png) [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Post date:** [June 23, 2008, 1:27pm UTC](https://www.ruby-forum.com/t/plugin-problems-simply-helpful/141190/3 "2008-06-23T13:27:23Z")

</div>

Frederick C. wrote:

> > form automatically, or point to the update/create action like it  
> > should  
> > do, according to the forementioned blog post.
> > 
> > What could be wrong? Any others having problem with this plugin?  
> > There’s  
> > is nothing in the README  
> > ([http://svn.rubyonrails.org/rails/plugins/legacy/simply\_helpful/](http://svn.rubyonrails.org/rails/plugins/legacy/simply_helpful/)).
> 
> simply\_helpful is obsolete. that functionality was rolled into rails 2  
> (and having both the rails 2 version and the plugin there is probably  
> confusing things)

Yes, if I uninstall it, the dom\_id and dom\_class methods still works.  
But the way form\_for works still doesn’t change.

Any ideas?

---

<div class="post-metadata">

**Author:** ![davidtl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/35a633/32.png) [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Post date:** [June 23, 2008, 3:02pm UTC](https://www.ruby-forum.com/t/plugin-problems-simply-helpful/141190/4 "2008-06-23T15:02:02Z")

</div>

Frederick C. wrote:

> > > …
> > 
> > Yes, if I uninstall it, the dom\_id and dom\_class methods still works.  
> > But the way form\_for works still doesn’t change.
> 
> how are your using form\_for ?

Like this (in HAML):

- form\_for :list do |form|  
= form.text\_field :title

The output in HTML is:

Issues: It should point to the create/update actions, not the new/edit  
actions, and the class and id is not added automatically.

---

<div class="post-metadata">

**Author:** ![davidtl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/35a633/32.png) [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Post date:** [June 23, 2008, 1:35pm UTC](https://www.ruby-forum.com/t/plugin-problems-simply-helpful/141190/5 "2008-06-23T13:35:53Z")

</div>

On 23 Jun 2008, at 12:27, David T. wrote:

> > > ([http://svn.rubyonrails.org/rails/plugins/legacy/simply\_helpful/](http://svn.rubyonrails.org/rails/plugins/legacy/simply_helpful/)).
> > 
> > simply\_helpful is obsolete. that functionality was rolled into  
> > rails 2  
> > (and having both the rails 2 version and the plugin there is probably  
> > confusing things)
> 
> Yes, if I uninstall it, the dom\_id and dom\_class methods still works.  
> But the way form\_for works still doesn’t change.

how are your using form\_for ?

Fred

---

<div class="post-metadata">

**Author:** ![davidtl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/35a633/32.png) [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Post date:** [June 23, 2008, 3:08pm UTC](https://www.ruby-forum.com/t/plugin-problems-simply-helpful/141190/6 "2008-06-23T15:08:46Z")

</div>

On 23 Jun 2008, at 14:02, David T. wrote:

> Like this (in HAML):
> 
> Issues: It should point to the create/update actions, not the new/  
> edit  
> actions, and the class and id is not added automatically.

If you look at the source it looks like it will only do all that stuff  
if you supply an activerecord object.

Fred

---

<div class="post-metadata">

**Author:** ![davidtl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/35a633/32.png) [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Post date:** [June 23, 2008, 3:14pm UTC](https://www.ruby-forum.com/t/plugin-problems-simply-helpful/141190/7 "2008-06-23T15:14:41Z")

</div>

Frederick C. wrote:

> > Issues: It should point to the create/update actions, not the new/  
> > edit  
> > actions, and the class and id is not added automatically.
> 
> If you look at the source it looks like it will only do all that stuff  
> if you supply an activerecord object.

Alright, I didn’t know that. I’ve been reading different blog posts  
about this plugin, but they never mentioned that.

How can I supply an ActiveRecord object?

---

<div class="post-metadata">

**Author:** ![davidtl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/35a633/32.png) [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Post date:** [June 23, 2008, 4:52pm UTC](https://www.ruby-forum.com/t/plugin-problems-simply-helpful/141190/8 "2008-06-23T16:52:13Z")

</div>

Frederick C. wrote:

> > Alright, I didn’t know that. I’ve been reading different blog posts  
> > about this plugin, but they never mentioned that.
> > 
> > How can I supply an ActiveRecord object?
> 
> form\_for @something etc…

Ah, of course. It works fine. Thanks!

---

<div class="post-metadata">

**Author:** ![davidtl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/35a633/32.png) [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Post date:** [June 23, 2008, 4:37pm UTC](https://www.ruby-forum.com/t/plugin-problems-simply-helpful/141190/9 "2008-06-23T16:37:32Z")

</div>

On 23 Jun 2008, at 14:14, David T. wrote:

> Alright, I didn’t know that. I’ve been reading different blog posts  
> about this plugin, but they never mentioned that.
> 
> How can I supply an ActiveRecord object?

form\_for @something etc…

Fred
