On May 4, 8:05 am, Stephen Fagan <[email protected]>
wrote:
> pharrington wrote:
> > The source the the error is the ym4rgm plugin:
>
> > However, it's strange that that error is happening, as
> > ActionController::Base.relative_url_root has been around for awhile.
> > What version of Rails are you running? You can also try changing that
> > line in ym4r_gm/lib/gm_plugin/map.rb to something like:
>
>
> > On May 3, 11:39 am, Stephen Fagan <[email protected]>
>
> Hi,
>
> I'm using 2.0.2.
THat;s before relative_url_root was defined on ActionController::Base
(used to live on AbstractRequest or something like that). If you're
new to rails and don't have historical baggage you may find it easier
to pick a newer version of rails.
Fred
>Im not 100% what you meant in your post. Do you mean
> replace the whole line with the line a "<< javascript_include_tag
> 'ym4r-gm' unless options[:without_js}"? (This gives an 'unexpected
> tSTRING_BEG' error). Apologies if this seems trivial, I am a novice to
> rails :@/
>
> --
> Posted viahttp://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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---