Module: ActiveRecord::Serialization
- Defined in:
- lib/restfulx/active_foo.rb
Overview
refer to: api.rubyonrails.org/ for more details
Instance Method Summary collapse
-
#to_fxml(options = {}, &block) ⇒ Object
Enforces Flex friendly options on XML and delegates processing to standard
to_xml
.
Instance Method Details
#to_fxml(options = {}, &block) ⇒ Object
Enforces Flex friendly options on XML and delegates processing to standard to_xml
128 129 130 131 132 133 |
# File 'lib/restfulx/active_foo.rb', line 128 def to_fxml( = {}, &block) .merge!(:dasherize => false) default_except = [:crypted_password, :salt, :remember_token, :remember_token_expires_at] [:except] = ([:except] ? [:except] + default_except : default_except) to_xml(, &block) end |