FYI: undefined method `map!' for #<[model]::ActiveRecord_Associations_CollectionProxy
30 views
Skip to first unread message
Tim Griffin
unread,
Jan 20, 2016, 4:21:20 PM1/20/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Hobo Users
Hi all;
I'm posting this here not only so I can Google myself later, but because it was an interesting little problem I hit when asking Hobo's <table-plus> tag to render a particular collection I had.
For this example, I had two models: "Entity" and "Parties".
An Entity has_many Parties.
For the Entity, though, I also created a named collection of parties called "directors":
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hobo...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thanks for sharing! :)
Best regards, Ibon.
Abrazo, Ibon.
Usa Software Libre, tus úlceras te lo agradecerán
Realizado con Software Libre.
- --
GPG public key at http://sinanimodelucro.net/ibon_gmail.asc Finderprint: 1761 59B9 6DE6 0402 31B9 1872 178F A6FD 75F9 EB29