search for: xmlbase

Displaying 7 results from an estimated 7 matches for "xmlbase".

Did you mean: lm_base
2010 May 17
0
ActiveResource 3 on MRI 191: NameError (uninitialized constant Builder::XmlBase::Symbol)
...get AR to work but it seems to have gone missing and I''m not finding any hints in git history or Google. Any call to an AR.create will trigger it. Seems like a strategically placed require or include did the trick but I''m probably misremembering. The offending code in Builder is xmlbase:40: sym = "#{sym}:#{args.shift}" if args.first.kind_of?(Symbol) Why that method_missing is firing off xmlmarkup:239 is a bit of a mystery to me, as 239 is just: _ensure_no_block block_given? the backtrace: builder (2.1.2) lib/builder/xmlbase.rb:40:in `method_missing'' builder...
2009 Jul 13
3
undefined method error from atom builder
...9;' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ polymorphic_routes.rb:109:in `polymorphic_url'' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.2/lib/action_view/helpers/ atom_feed_helper.rb:189:in `entry'' /Library/Ruby/Gems/1.8/gems/builder-2.1.2/lib/builder/xmlbase.rb: 134:in `call'' /Library/Ruby/Gems/1.8/gems/builder-2.1.2/lib/builder/xmlbase.rb: 134:in `_nested_structures'' /Library/Ruby/Gems/1.8/gems/builder-2.1.2/lib/builder/xmlbase.rb:58:in `method_missing'' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.2/lib/action_view/helpers/ at...
2006 Jul 14
2
how to get builder 2.0 to escape attributes in rxml
I am using rxml to produce opml files and need to escape ampersands in the attributes. builder 2.0 docs found at http://builder.rubyforge.org/ show the following xml = Builder::XmlMarkup.new xml.sample(:escaped=>"This&That", :unescaped=>:"Here&amp;There") xml.target! => <sample escaped="This&amp;That"
2006 May 08
8
RSS Feed / xml.link problem?
...> /usr/lib/ruby/1.8/fileutils.rb:1390:in `fu_each_src_dest0'' > /usr/lib/ruby/1.8/fileutils.rb:297:in `link'' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:812:in `link'' > ./script/../config/../vendor/rails/activesupport/lib/active_support/vendor/builder/xmlbase.rb:32:in > `tag!'' > #{RAILS_ROOT}/app/views/events/rss.rxml:7:in `_run_rxml_events_rss'' > #{RAILS_ROOT}/app/views/events/rss.rxml:5:in `_run_rxml_events_rss'' > #{RAILS_ROOT}/app/views/events/rss.rxml:2:in `_run_rxml_events_rss'' > Thanks! --------...
2008 May 14
1
[Bug 15932] New: This flash cause swfdec 0.6.4 to crash
http://bugs.freedesktop.org/show_bug.cgi?id=15932 Summary: This flash cause swfdec 0.6.4 to crash Product: swfdec Version: unspecified Platform: Other URL: http://www.dagbladet.no/tv/index.html?clipid=26540 OS/Version: All Status: NEW Severity: normal Priority: medium Component: plugin
2007 Jun 11
2
Builder::XmlMarkup and dashes
...ze underscore tags by default? I know I can use tag!, but I''d like to find a way for it to translate underscores to dashes automatically. In other words: xml.department_manager do "fred end #=> <department-manager>fred</department-manager> I tried hacking Builder::XmlBase.method_missing but got myself all twisted up! Thanks. Steve --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH...
2008 Oct 14
6
Disabling XML character escaping for to_xml
...s indeed UTF-8 (actually the default for Rails nowadays), we still get encoded characters in to_xml output. Since our client is UTF-8 aware, we need to pass thru the UTF-8 data intact. The only way we''ve found to do this is thru the following horrible monkey-patch: module Builder class XmlBase def _escape(text) text end end end What''s the proper way to do this? Thanks, Nate --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group,...