I am working through the rjs and rest screencast tutorials from peepcode. In my local development environment I''m running rails 1.2.3. When I attempt to generate a dom id with dom_id @object I cannot get past the exception "undefined method ''dom_id'' etc". I understand that simply_helpful is now part of rails core and that I don''t need to install it as a plugin. Am I missing something simple? <div id="<%= dom_id(@task) %>"> -- 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 Jun 2, 2007, at 12:17 PM, Jason wrote:> I am working through the rjs and rest screencast tutorials from > peepcode. In my local development environment I''m running rails > 1.2.3. > When I attempt to generate a dom id with dom_id @object I cannot get > past the exception "undefined method ''dom_id'' etc". I understand that > simply_helpful is now part of rails core and that I don''t need to > install it as a plugin. Am I missing something simple? > > <div id="<%= dom_id(@task) %>">Are you sure that "is now part of" doesn''t refer to Edge? I know that with 1.2.2, I''ve installed the simply_helpful plugin (which is so annoyingly simple that it doesn''t even say where it comes from in its README file). -Rob Rob Biedenharn http://agileconsultingllc.com Rob-xa9cJyRlE0mWcWVYNo9pwxS2lgjeYSpx@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Rob Biedenharn wrote:> Are you sure that "is now part of" doesn''t refer to Edge? I know > that with 1.2.2, I''ve installed the simply_helpful plugin (which is > so annoyingly simple that it doesn''t even say where it comes from in > its README file).Thanks for the reply Rob. Yeah, the move to core only happened a week ago (http://dev.rubyonrails.org/browser/plugins/legacy/simply_helpful?rev=6836), therefore it must be in edge. I made an ass-umption I shouldn''t have made. Regardless, when I install simply_helpful as a plugin I still get the error: undefined method `dom_id'' for #<#<Class:0x46c1930>:0x46c1908> This really shouldn''t be this difficult. Either I''m an idiot or higher powers are trying to waste hours of my time. -- 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 Jun 2, 2007, at 1:44 PM, Jason wrote:> > Rob Biedenharn wrote: >> Are you sure that "is now part of" doesn''t refer to Edge? I know >> that with 1.2.2, I''ve installed the simply_helpful plugin (which is >> so annoyingly simple that it doesn''t even say where it comes from in >> its README file). > > Thanks for the reply Rob. Yeah, the move to core only happened a week > ago > (http://dev.rubyonrails.org/browser/plugins/legacy/simply_helpful? > rev=6836), > therefore it must be in edge. I made an ass-umption I shouldn''t have > made. > > Regardless, when I install simply_helpful as a plugin I still get the > error: > > undefined method `dom_id'' for #<#<Class:0x46c1930>:0x46c1908> > > This really shouldn''t be this difficult. Either I''m an idiot or > higher > powers are trying to waste hours of my time.You should check to make sure that dom_id is defined in this file: vendor/plugins/simply_helpful/lib/simply_helpful/record_identifier.rb If you got a plugin that is sync''d to Rails, it wouldn''t be in both places. -Rob Rob Biedenharn http://agileconsultingllc.com Rob-xa9cJyRlE0mWcWVYNo9pwxS2lgjeYSpx@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Rob Biedenharn wrote:> You should check to make sure that dom_id is defined in this file: > > vendor/plugins/simply_helpful/lib/simply_helpful/record_identifier.rb > > If you got a plugin that is sync''d to Rails, it wouldn''t be in both > places.Thanks again for taking the time to respond Rob. The application is working fine today. Maybe restarting the server after the plugin was installed would have taken care of the issue in the first place. -- 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 -~----------~----~----~----~------~----~------~--~---
Jason, Did you get any resolution on this? I''m having the same issue. - Matthew On Jun 2, 1:13 pm, Rob Biedenharn <R...-xa9cJyRlE0mWcWVYNo9pwxS2lgjeYSpx@public.gmane.org> wrote:> On Jun 2, 2007, at 12:17 PM, Jason wrote: > > > I am working through the rjs and rest screencast tutorials from > > peepcode. In my local development environment I''m running rails > > 1.2.3. > > When I attempt to generate a dom id with dom_id @object I cannot get > > past the exception "undefined method ''dom_id'' etc". I understand that > > simply_helpful is now part of rails core and that I don''t need to > > install it as a plugin. Am I missing something simple? > > > <div id="<%= dom_id(@task) %>"> > > Are you sure that "is now part of" doesn''t refer to Edge? I know > that with 1.2.2, I''ve installed the simply_helpful plugin (which is > so annoyingly simple that it doesn''t even say where it comes from in > its README file). > > -Rob > > Rob Biedenharn http://agileconsultingllc.com > R...-xa9cJyRlE0mWcWVYNo9pwxS2lgjeYSpx@public.gmane.org--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Matthew wrote:> Did you get any resolution on this? I''m having the same issue.Hi, Matthew. I did get resolution on this issue. I had installed the plugin, but for some reason the application wasn''t recognizing the fact that it was installed. I''m not sure what exactly solved the issue for me, but perhaps it was the fact that I shut down the app and came back to it the next day (thus restarting the server). Best of luck with your issue. -- 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 -~----------~----~----~----~------~----~------~--~---