Using editable_content_tag in Rails 2.0

I am using editable_content_tag in my application which runs in rails2.0

I referred a tutorial for this. The link follows
http://www.bizmeetsdev.com/articles/2008/02/09/editable_content_tag#comments

I had to edit the name of the entities in db, where name is the field in
table entities.

The view file includes it as:

<%= editable_content_tag :div, @entity, 'name'%>

But it shows an ArguementError in Entities as:
wrong number of arguments (3 for 4)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs