Re: [Rails] how to use in_place_editor_field

2012-03-16 Thread Colin Law
On 16 March 2012 07:18, hanish jadala wrote: > while i am using in_place_editor_fieldĀ  i am getting this error > > Called id for nil, which would mistakenly be 4 -- if you really wanted the > id of nil, use object_id Read the error and have a look at the line pointed to. Something there is nil.

Re: [Rails] how to use in_place_editor_field

2012-03-16 Thread hanish jadala
while i am using in_place_editor_field i am getting this error Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id On Fri, Mar 16, 2012 at 12:16 PM, honey ruby wrote: > hi everyone i wanna use in_place_editor_field i've installed the Plug- > in a

[Rails] how to use in_place_editor_field

2012-03-15 Thread honey ruby
hi everyone i wanna use in_place_editor_field i've installed the Plug- in and when i'm trying to use it. <%= in_place_editor_field :subject, :credit_hour %> i have added this line in view part and in_place_edit_for :subject, :credit_hour line in controller. Here :subject is model name and :credit_