Stan, I haven't been able to replicate your problem but I have
improved the adapters repository and resource name handling over the
weekend and released a new gem.

If you still don't have any luck perhaps email me directly, I feel
awkward resolving this on the DM list since it is more likely to be my
adapter than DM itself.

Cheers,
Shane.

On Feb 21, 10:41 pm, Stan <[email protected]> wrote:
> Thanks Shane for the reply! This is my Stop model. I don't have tests
> yet (sorry), but I'm working on it :)
>
> class Stop
>   include DataMapper::Resource
>
>   has n, :timetables #, :dependent => :destroy
>   has n, :lines, :through => :timetables
>
>   property :id,         Serial
>   property :name,       String, :length => (3..50), :message =>
> "Nieprawidłowa nazwa przystanku"
>   property :lon,        Float, :precision => 15
>   property :lat,        Float, :precision => 15
>   property :location,   String
>
>   property :updated_at, DateTime
>
>   is :searchable
>
>   default_scope(:default).update(:order => [:name])
>
>   ...
>
> What else can I say? I'm a beginner so it's hard to me to understand
> everything at once. If you need more information, please let me know.
> Appreciate.
>
> On 21 Lut, 02:10, Shane Hanna <[email protected]> wrote:
>
> > I'd be happy to help but I'll need more to go on. Could you show me
> > your model or even better a reproducible test?
>
> > Shane.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" 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/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to