Hi Michael, Is the metaseach form working for the foreign keys? The current source is a bit too noisy and it might be outputting warnings which are not really errors.
Warm regards, Ignacio El 07-12-2014 a las 04:53, Michael B escribió: > Hello all, > I'm not sure if this is the same error, but I'm using hobo-metasearch > and I get these errors for each of the foreign keyed entries in my table. > The error might be coming from a <form> definition, but not sure. I'm > willing to NOT have a form action here, so but don't want to override > the permissions at the model unless there were a specific way to do that > in the index context. > > I also have an admin subsite FWIW. This request is NOT being called in > that context but maybe there is some confusion somewhere. > > > thanks! > Michael Bonnet. > > > > Description Load (0.8ms) SELECT "descriptions".* FROM "descriptions" > INNER JOIN "sics" ON "descriptions"."id" = "sics"."description_id" WHERE > "sics"."id" = $1 ORDER BY "descriptions"."id" ASC LIMIT 1 [["id", 912104]] > Description Load (0.8ms) SELECT "descriptions".* FROM "descriptions" > INNER JOIN "sics" ON "descriptions"."id" = "sics"."description_id" WHERE > "sics"."id" = $1 ORDER BY "descriptions"."id" ASC LIMIT 1 [["id", 912104]] > INFO -- : polymorphic_url has failed with NoMethodError: undefined > method `description_path' for #<#<Class:0x007fbcd0cfec90>:0x007fbcd0cfce90> > INFO -- : polymorphic_url has failed with NoMethodError: undefined > method `description_path' for #<#<Class:0x007fbcd0cfec90>:0x007fbcd0cfce90> > DEBUG -- : CACHE (0.1ms) SELECT "states".* FROM "states" WHERE > "states"."id" = $1 ORDER BY "states"."id" ASC LIMIT 1 [["id", 50]] > DEBUG -- : CACHE (0.1ms) SELECT "states".* FROM "states" WHERE > "states"."id" = $1 ORDER BY "states"."id" ASC LIMIT 1 [["id", 50]] > INFO -- : polymorphic_url has failed with NoMethodError: undefined > method `state_path' for #<#<Class:0x007fbcd0cfec90>:0x007fbcd0cfce90> > INFO -- : polymorphic_url has failed with NoMethodError: undefined > method `state_path' for #<#<Class:0x007fbcd0cfec90>:0x007fbcd0cfce90> > DEBUG -- : CACHE (0.1ms) SELECT "zipcodes".* FROM "zipcodes" WHERE > "zipcodes"."id" = $1 ORDER BY "zipcodes"."id" ASC LIMIT 1 [["id", 5301]] > DEBUG -- : CACHE (0.1ms) SELECT "zipcodes".* FROM "zipcodes" WHERE > "zipcodes"."id" = $1 ORDER BY "zipcodes"."id" ASC LIMIT 1 [["id", 5301]] > INFO -- : polymorphic_url has failed with NoMethodError: undefined > method `zipcode_path' for #<#<Class:0x007fbcd0cfec90>:0x007fbcd0cfce90> > INFO -- : polymorphic_url has failed with NoMethodError: undefined > method `zipcode_path' for #<#<Class:0x007fbcd0cfec90>:0x007fbcd0cfce90> > DEBUG -- : CACHE (0.1ms) SELECT "sics".* FROM "sics" WHERE > "sics"."id" = $1 ORDER BY "sics"."id" ASC LIMIT 1 [["id", 912104]] > DEBUG -- : CACHE (0.1ms) SELECT "sics".* FROM "sics" WHERE > "sics"."id" = $1 ORDER BY "sics"."id" ASC LIMIT 1 [["id", 912104]] > INFO -- : polymorphic_url has failed with NoMethodError: undefined > method `sic_path' for #<#<Class:0x007fbcd0cfec90>:0x007fbcd0cfce90> > INFO -- : polymorphic_url has failed with NoMethodError: undefined > method `sic_path' for #<#<Class:0x007fbcd0cfec90>:0x007fbcd0cfce90> > > -- > You received this message because you are subscribed to the Google > Groups "Hobo Users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at http://groups.google.com/group/hobousers. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/hobousers. For more options, visit https://groups.google.com/d/optout.
