I have been researching a problem and found that ticket 4989 solves my problem (to_xml has new dasherize option). I am new to RoR and was wondering if the patch that has been mentioned is available for public release. If so where can I find it and how to apply? Thank you Andrew -- Posted via http://www.ruby-forum.com/.
On Jun 20, 2006, at 11:31 AM, Andrew Cleland wrote:> I have been researching a problem and found that ticket 4989 solves my > problem (to_xml has new dasherize option). > > I am new to RoR and was wondering if the patch that has been mentioned > is available for public release. If so where can I find it and how to > apply?This patch has been applied so the feature will be available in the next Rails release. The latest Rails (known as "Edge Rails" since it''s the latest stuff and may make you bleed (in a good way)) is available from the public Subversion repository. Your Rails app has some convenient Rake tasks to get you on & off Edge easily. See to it you have Subversion installed (can you run ''svn --version'' from the command line?) then do rake rails:freeze:edge to get on and rake rails:unfreeze to get off. Best, jeremy
Thanks for the info, I don''t have svn, but will do that tomorrow. I am in the middle of watching the England World Cup match! Andrew Jeremy Kemper wrote:> On Jun 20, 2006, at 11:31 AM, Andrew Cleland wrote: >> I have been researching a problem and found that ticket 4989 solves my >> problem (to_xml has new dasherize option). >> >> I am new to RoR and was wondering if the patch that has been mentioned >> is available for public release. If so where can I find it and how to >> apply? > > This patch has been applied so the feature will be available in the > next Rails release. > > The latest Rails (known as "Edge Rails" since it''s the latest stuff > and may make you bleed (in a good way)) is available from the public > Subversion repository. > > Your Rails app has some convenient Rake tasks to get you on & off > Edge easily. See to it you have Subversion installed (can you run > ''svn --version'' from the command line?) then do > rake rails:freeze:edge to get on and > rake rails:unfreeze to get off. > > Best, > jeremy-- Posted via http://www.ruby-forum.com/.
I don''t have svn, infact I don''t know anything about svn. So I have decided to take a different approach to my problem. I also don''t think I can insatll Edge Rails on my customers server, even though it is only a demo system. Any idea when the next official release of rails will be, which hopefully includes the patch? Thank you Andrew -- Posted via http://www.ruby-forum.com/.
Seemingly Similar Threads
- is it possible to make to_xml use underscore instead of dash?
- AR to_xml problem with associations, Builder::XmlMarkup#to_a
- to_xml and underscores
- How to best change the default value of dasherize (using Edge Rails, and knowing about :dasherize => false)?
- Confused about to_xml() in ActiveRecord::Base subclass