On Miércoles, 12 de Mayo de 2010 11:08:45 gs84 escribió:
> On 11 mai, 17:21, "Sergio Cambra .:: entreCables S.L. ::."
>
> <[email protected]> wrote:
> > On Martes, 11 de Mayo de 2010 14:05:00 gs84 escribió:
> > > On 11 mai, 12:44, "Sergio Cambra .:: entreCables S.L. ::."
> > >
> > > <[email protected]> wrote:
> > > > On Martes, 11 de Mayo de 2010 12:16:03 gs84 escribió:
> > > > > here also (when using the two methods), i got error : " Unknown
> > > > > key(s): origin "
> > > >
> > > > Please, put backtrace, I need the line number
> >
> > Have you added acts_as_mappable to your model?
>
> Yes i have added acts_as_mappable in the commune model witch has the
> lattitude and longitude columns.
> But i am using the conditions_for_collection and custom_finder_options
> methods in offreservices controller that i need to filter the list
> view. And offreservice model doesn't have lattitude and longitude
> columns.

Then you have to add acts_as_mappable in offreservice model with through option
Look at http://geokit.rubyforge.org/api/geokit-rails/index.html, using 
:through section

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.

Reply via email to