Hi all together...
I try since few day to use in_place_editor as plugin....
so I installed it with
ruby script/plugin install
http://svn.redlinesoftware.com/plugins/in_place_editor/
and now?!?
I get the error
undefined method `in_place_editor'' for
#<ActionView::Base:0xb724504c>
I`ve tried to use require ''in_place_editor'' in my controller..
but it
didn`t work...
I use it in my view with:
<%= in_place_editor "tr_#{tr.id}",
:url => { :action => :set_translation_text, :id => tr.id },
:load_text_url => url_for({ :action => :translation_text, :id =>
tr.id })%>
thanks for help!
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
On 24 May 2008, at 17:52, Guido Holz wrote:> > Hi all together... > > I try since few day to use in_place_editor as plugin.... > > so I installed it with > ruby script/plugin install > http://svn.redlinesoftware.com/plugins/in_place_editor/ >That''s not the in place editor you''re looking for. The one extracted from rails is at http://svn.rubyonrails.org/rails/plugins/ Fred> and now?!? > > I get the error > undefined method `in_place_editor'' for #<ActionView::Base:0xb724504c> > > I`ve tried to use require ''in_place_editor'' in my controller.. but it > didn`t work... > > > I use it in my view with: > > <%= in_place_editor "tr_#{tr.id}", > :url => { :action => :set_translation_text, :id => tr.id }, > :load_text_url => url_for({ :action => :translation_text, :id => > tr.id })%> > > thanks for help! > -- > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Frederick, thanks for the response, but I can´t checkout from svn.rubyonrails.org I´ve tried to checkout via "svn" on my shell and with tortoise under windows without any result... The error-message is "could not connect to server svn.rubyonrails.org" i there something that I do wrong? thanks Guido Frederick Cheung wrote:> On 24 May 2008, at 17:52, Guido Holz wrote: > >> >> Hi all together... >> >> I try since few day to use in_place_editor as plugin.... >> >> so I installed it with >> ruby script/plugin install >> http://svn.redlinesoftware.com/plugins/in_place_editor/ >> > That''s not the in place editor you''re looking for. The one extracted > from rails is at http://svn.rubyonrails.org/rails/plugins/ > > Fred-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 25 May 2008, at 08:05, Guido Holz wrote:> > Hi Frederick, > > thanks for the response, but I can´t checkout from svn.rubyonrails.org > > I´ve tried to checkout via "svn" on my shell and with tortoise under > windows without any result... > The error-message is "could not connect to server svn.rubyonrails.org" > i there something that I do wrong?You might be omitting the http:// which might make it try svn:// svn co http://svn.rubyonrails.org/rails/plugins/in_plac_editing/ worked fine for me. Fred> > > thanks Guido > > > Frederick Cheung wrote: >> On 24 May 2008, at 17:52, Guido Holz wrote: >> >>> >>> Hi all together... >>> >>> I try since few day to use in_place_editor as plugin.... >>> >>> so I installed it with >>> ruby script/plugin install >>> http://svn.redlinesoftware.com/plugins/in_place_editor/ >>> >> That''s not the in place editor you''re looking for. The one extracted >> from rails is at http://svn.rubyonrails.org/rails/plugins/ >> >> Fred > > -- Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I´ve got it today...
I´ve installed it with
ruby script/plugin install
http://svn.rubyonrails.org/rails/plugins/in_place_editing/
But when i try know, I get the same failure
undefined method `in_place_editor'' for
#<ActionView::Base:0xb6efca5c>
Extracted source (around line #8):
5: <span id="tr_<%= tr.id %>">
6: <%= render :partial => ''translation_text'', :object
=> tr.text %>
7: </span>
8: <%= in_place_editor "tr_#{tr.id}",
9: :url => { :action => :set_translation_text, :id => tr.id },
10: :load_text_url => url_for({ :action => :translation_text, :id
=>
tr.id })%>
11: </p>
I´ve tried to to put "require ''in_place_editor''" but
it doesn´t matter
:-(
what goes wrong?!?
thanks for help!
Guido
Frederick Cheung wrote:> On 25 May 2008, at 08:05, Guido Holz wrote:
>
>>
>> Hi Frederick,
>>
>> thanks for the response, but I can�t checkout from svn.rubyonrails.org
>>
>> I�ve tried to checkout via "svn" on my shell and with
tortoise under
>> windows without any result...
>> The error-message is "could not connect to server
svn.rubyonrails.org"
>> i there something that I do wrong?
> You might be omitting the http:// which might make it try svn://
> svn co http://svn.rubyonrails.org/rails/plugins/in_plac_editing/
> worked fine for me.
>
> Fred
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
On 26 May 2008, at 14:17, Guido Holz wrote:> > I´ve got it today... > I´ve installed it with > > ruby script/plugin install > http://svn.rubyonrails.org/rails/plugins/in_place_editing/ > > But when i try know, I get the same failure > >Did you restart the server ? Fred> undefined method `in_place_editor'' for #<ActionView::Base:0xb6efca5c> > > Extracted source (around line #8): > > 5: <span id="tr_<%= tr.id %>"> > 6: <%= render :partial => ''translation_text'', :object => tr.text %> > 7: </span> > 8: <%= in_place_editor "tr_#{tr.id}", > 9: :url => { :action => :set_translation_text, :id => tr.id }, > 10: :load_text_url => url_for({ :action > => :translation_text, :id => > tr.id })%> > 11: </p> > > I´ve tried to to put "require ''in_place_editor''" but it doesn´t > matter > :-( > what goes wrong?!? > > thanks for help! > Guido > > Frederick Cheung wrote: >> On 25 May 2008, at 08:05, Guido Holz wrote: >> >>> >>> Hi Frederick, >>> >>> thanks for the response, but I can�t checkout from >>> svn.rubyonrails.org >>> >>> I�ve tried to checkout via "svn" on my shell and with tortoise >>> under >>> windows without any result... >>> The error-message is "could not connect to server >>> svn.rubyonrails.org" >>> i there something that I do wrong? >> You might be omitting the http:// which might make it try svn:// >> svn co http://svn.rubyonrails.org/rails/plugins/in_plac_editing/ >> worked fine for me. >> >> Fred > > -- > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
ups... thanks... eval fault :-D it works ;-) Frederick Cheung wrote:> On 26 May 2008, at 14:17, Guido Holz wrote: > >> >> I´ve got it today... >> I´ve installed it with >> >> ruby script/plugin install >> http://svn.rubyonrails.org/rails/plugins/in_place_editing/ >> >> But when i try know, I get the same failure >> >> > Did you restart the server ? > > Fred-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---