search for: peterarmstrong

Displaying 3 results from an estimated 3 matches for "peterarmstrong".

2006 Jul 31
2
is it possible to make to_xml use underscore instead of dash?
Hi all, I am getting ActiveRecord to produce XML with render :xml => @user.to_xml However, on the client end it is a bit annoying for me to deal with attributes like first-name. I would much rather have first_name. Is there any way for me to turn off the behavior of converting _ to -? This seems to be done by a call to dasherize inside the to_xml of
2006 Nov 10
0
[ADV] New version of Flexible Rails book available (Alpha version 5)
Hi all, I''ve uploaded the fifth Alpha version of Flexible Rails. See http://www.flexiblerails.com for details. This is an in-progress, PDF-only book about using Rails 1.1 and Adobe Flex 2 to build Rich Internet Applications (RIAs). The two main highlights of this version are: 1. I have added a new iteration (Iteration 19: Validation), which explains how to integrate Rails Validation
2006 Dec 03
0
How to best change the default value of dasherize (using Edge Rails, and knowing about :dasherize => false)?
Hi all, I''m trying to turn off dasherize in all cases, since converting underscores to hyphens breaks the way that I want to handle XML (with E4X in Flex 2). I''ve read the other threads about dasherize on this list. I''m on Edge Rails, so I can successfully turn off dasherize for a single usage with something like render :xml => @task.to_xml(:dasherize => false)