Displaying 9 results from an estimated 9 matches for "xmlserial".
Did you mean:
xc_serial
2011 May 06
0
Problems with Use Case Maker
...Maker.resources"
fixme:shell:URL_ParseUrl failed to parse L"UseCaseMaker.resources"
fixme:shell:URL_ParseUrl failed to parse L"System.Xml"
fixme:shell:URL_ParseUrl failed to parse L"System.Configuration"
fixme:shell:URL_ParseUrl failed to parse L"UseCaseMaker.XmlSerializers"
fixme:shell:URL_ParseUrl failed to parse L"UseCaseMaker.XmlSerializers"
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 0/00/0000, dlt (d/m/y): 0/00/0000
fixme:shell:URL_ParseUrl failed to parse L"UseCase...
2007 Nov 07
1
Serialization of ActiveRecord Instances: No Inheritance Column?
Hey,
I have been looking at ActiveRecord''s serialization code, and noticed
that ActiveRecord::XmlSerializer#serializable_attributes purposely
excludes the STI inheritance column per ``options[:except] =
Array(options[:except]) | Array(@record.class.inheritance_column).''''
Is there a particular reason for this? Would anyone be opposed to my
writing a patch to have this attribute be in...
2006 Dec 03
0
How to best change the default value of dasherize (using Edge Rails, and knowing about :dasherize => false)?
...n successfully turn off dasherize for a single usage
with something like
render :xml => @task.to_xml(:dasherize => false)
I don''t want to have to do this in every case, of course. So, I can
go ahead and add the following to my application.rb:
module ActiveRecord #:nodoc:
module XmlSerialization
#We change the default for :dasherize, since it is never what we want.
def to_xml(options = {:dasherize => false})
XmlSerializer.new(self, options).to_s
end
end
...etc...
end
This works fine.
However, I also have to change the behaviour for two of the other
to_xml me...
2007 Sep 30
1
to_xml node names with underscores
When I call to_xml on my active record objects, it replaces
underscores with hypens. E.g.:
<categories>
<category>
<content-provider-id type="integer">1</content-provider-id>
<id type="integer">2</id>
<name>Traffic Alerts</name>
</category>
</categories>
When the actual field is content_provider_id. I remember
2007 Feb 15
3
Restrict attributes in to_xml
For example, let''s say I have a User model with 2 attributes:
1. pw_hash
2. pw_salt
I don''t want these to show up in the to_xml method. How do I keep to_xml
from using these attributes?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2011 May 12
2
Wizards Event Reporter
I've installed the following prior to the installation:
.net framework 2 jet40 mdac28
The Wizards Event Reporter gives this error on launch:
"The server committed a protocol violation. Section=ResponseStatusLine"
The program will then launch but will not give online connectivity.
2008 Aug 28
12
Rendering User attributes in XML
Let''s say an app has a User, and a User has many friends. Also, let''s
say the app authentication was built on the restful_authentication
plugin, and we have email and password in the Users table. The friends
controller index might look like this;
# GET /users/1/friends
# GET /users/1/friends.xml
def index
@users = @user.friends
respond_to do |format|
format.html
2008 Oct 01
0
Newbie:Family Tree Maker 2009 will not execute-Ubuntu Hardy
...ParseUrl failed to parse L"MyFamily.FTM.Data"
fixme:shell:URL_ParseUrl failed to parse L"MyFamily.FTM.Data.DB"
fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.Practices.CompositeUI.XmlSerializers"
fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION
fixme:shell:URL_ParseUrl failed to parse L"Augmentation"
fixme:shell:URL_ParseUrl failed to parse L"VistaDB.NET20"
fixme:shell:URL_ParseUrl failed to parse L"System.Data"...
2008 Aug 27
11
find_by_sql and xml_serializer problems
Hi,
I''m doing a find_by_sql and am getting an odd error when trying to
render the result to xml.
The find is:
children_list = find_by_sql("SELECT components.componentid,
components.logicalname, versions.level, versions.branch,
versions.sequence FROM components, versions where
components.componentid = ''" + component_id + "''" + " AND