On 12 mai, 13:14, "Sergio Cambra .:: entreCables S.L. ::."
<[email protected]> wrote:
> 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 athttp://geokit.rubyforge.org/api/geokit-rails/index.html, using
> :through section
>
Thanks Sergio.

-- 
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