Displaying 3 results from an estimated 3 matches for "infoattribute".
2006 Jun 19
6
to_xml depth ...
hello,
The "render :xml => myFriends.to_xml", return something like:
<people>
<person>
<id type="integer">2</id>
...
<person>
But a Person has a "has_many" relationship and they are not in the xml,
=> so is it possible to change the depth of the marshall process ?
if it not possible, what are the "rails
2006 Aug 16
0
`const_missing'': uninitialized ..
bad night !
my db model is like: person has many clients, and clients has many
infoattributes
so in my computer with script/console I can do
aPerson.clients.first.rooms => and it is ok
BUT in the new server which use rails 1.1.6 I have a
`const_missing'': uninitialized constant Infoattribute
Any idea ?
arnaud
2006 Aug 17
0
`const_missing'': uninitialized constant
Hi all,
still the same error, when accessing my model childs on the site5 server
....(Person.infogroups.first.infoattributes, (a Person has_many
infogroup which has_many info_attribute))
I double check my config and the server and it is exactly the same
(except for rubygem which is for me 0.8.11).
==>>ERROR
usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:100:in
`const_missin...