Well, I thought so. But it's first now that I actually try to create
and show an artist, and you are right. It fails. I am not sure if it
is due to the same problem though. I get the following error-message:

wrong model name: "jobs" (extracted from translation key:
"jobs.collection.heading"). You might want to use the translate/t tag/
method instead.

Removing the children tag makes the show page work again.

Is this the same error you get, or is it different.

BTW: The models, associations and children viewhints are the same as I
am using in a live hobo 1.0 application. I am trying to migrate my old
app to Rails 3.

Here are the associations:

Job:
  belongs_to :artist
  belongs_to :customer
  # children :none
Artist:
  has_many :jobs
  has:many :customers, :through => :jobs, :uniq => true
  children: jobs

Customer:
  has_many :jobs
  has:many :artists, :through => :jobs, :uniq => true
  children :jobs

The same problem occurs for both artist and customer show-acitons.

~Ronny

On 27 Nov, 01:02, Domizio Demichelis <[email protected]> wrote:
> Is that code working for you with the right version?
>
> Because it gives me an error (related to the AR reflection).
>
> ciao
> dd

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to