solnic (Piotr Solnica)

Name
Piotr Solnica
Email
Website/Blog
http://blog.solnic.eu
Company
Lunar Logic Polska
Location
Poland, Cracow
Member Since
Feb 27, 2008 (about 1 year)

Following 10 githubbers and watching 38 repositories view all →

Public Repositories (9)

  • dm-mongo-adapter

    Mongo DataMapper Adapter

    legend

    Forked from shanna/dm-mongo-adapter Tue Aug 25 11:33:45 -0700 2009

    Last updated Sat Nov 07 06:48:42 -0800 2009

  • cells

    Components for Rails.

    legend

    Forked from apotonick/cells Fri Oct 30 15:47:38 -0700 2009

    Last updated Wed Sep 30 07:06:35 -0700 2009

  • metric_fu

    A fist full of code metrics

    legend

    Forked from jscruggs/metric_fu Wed Aug 05 02:32:39 -0700 2009

    Last updated Mon Jul 13 16:05:30 -0700 2009

  • dm-is-configurable

    A DataMapper plugin which adds configuration to resources

    legend

    Last updated Tue Jun 23 12:20:20 -0700 2009

  • dm-gdata-adapters

    A set of DataMapper adapters for Google Data API

    legend

    Last updated Sun Jun 07 04:53:10 -0700 2009

  • utype-components

    Official Utype Components

    legend

    Last updated Fri Apr 17 11:16:42 -0700 2009

  • utype

    http://github.com/LunarLogicPolska/utype/tree

    legend

    Forked from mariusz/utype Fri Nov 21 08:07:11 -0800 2008

    Last updated Fri Apr 17 11:14:31 -0700 2009

  • dm-core

    DataMapper - Core

    legend

    Forked from sam/dm-core Tue Nov 25 03:02:57 -0800 2008

    Last updated Fri Jan 02 12:46:25 -0800 2009

  • dm-is-formattable

    legend

    Last updated Sat Nov 08 04:44:53 -0800 2008

Public Activity feed

solnic commented on solnic/dm-mongo-adapter Mon Nov 09 12:00:09 -0800 2009
Comment in 0bf728d:

@dkubb: currently mongo adapter does use #matches? if the query is too complex to use the native mongo API.I think It's already a big win from DM's API point of view

@shanna: supporting nested operations is making my head hurt right now, haha :) Regarding you other comments - I totally agree. It would be useful to have an ability to subclass query and conditions, to define your own slugs, comparison strings etc. so I could work with objects and serialize them easily into datastore-specific query syntax. For example with an instance of my own GreaterThanOrEqualToComparison I could just do let's say #to_s to get a mongo expression "this.field >= value". Such tools would help us in writing cleaner code.

solnic commented on solnic/dm-mongo-adapter Sat Nov 07 14:03:39 -0800 2009
Comment in 0bf728d:

Nope, not yet, but that's my goal as well. I'm going to write more specs and improve the code. Currently it'll use $where clause in case of a single OrOperation and that should work stable now, but with nested conditions it'll freak out...

Probably it's a good idea to cover more complex scenarios in shared specs, but maybe in an additional set of specs since not every adapter should support complex queries.

solnic pushed to master at solnic/dm-mongo-adapter Sat Nov 07 06:48:43 -0800 2009
HEAD is 0bf728d48b99e7c0256415c2f9b368eaf7680923
  • solnic committed 0bf728d4:
    Added Conditions object which can construct $where clause required for OR
solnic pushed to master at solnic/dm-mongo-adapter Wed Nov 04 11:16:53 -0800 2009
HEAD is 565c48efd0af8dff66d1f18bd750b90251517eb1
  • solnic committed 565c48ef:
    added initial support for Arrays and Hashes as properties
solnic pushed to master at solnic/dm-mongo-adapter Mon Nov 02 13:36:40 -0800 2009
HEAD is 021c02f3ae74d1fefb7171fef09a01804f742beb
solnic pushed to master at solnic/dm-mongo-adapter Mon Nov 02 13:28:31 -0800 2009
HEAD is 98563bf27a25eb995c587d920726004f8d12c83a
  • solnic committed 98563bf2:
    added initial support for "belongs to" and "has many" associations
solnic pushed to master at solnic/dm-mongo-adapter Sun Nov 01 15:12:18 -0800 2009
HEAD is 2bf39dac7c39fa9d776670f0853bd98969cf22a5
  • solnic committed 2bf39dac:
    set ObjectID type to be always a key and map to a field called "_id"
solnic pushed to master at solnic/dm-mongo-adapter Sun Nov 01 14:41:59 -0800 2009
HEAD is 278511861aa810047caeac50dc19eb4bc33a0f72
solnic pushed to master at solnic/dm-mongo-adapter Sun Nov 01 14:31:37 -0800 2009
HEAD is b5402eae5b54d3365c9d9e5f65d302bd07ed8c2f

2 commits »

solnic pushed to master at solnic/dm-mongo-adapter Sun Nov 01 08:52:46 -0800 2009
HEAD is 10d42c73b8b05a2e46eae1e0f841cac4fe4d2312
  • solnic committed 10d42c73:
    added #with_collection method which replaced with_connection calls in all CRUD methods
solnic forked apotonick/cells Fri Oct 30 15:47:39 -0700 2009
Forked repository is at solnic/cells
solnic pushed to master at solnic/dm-mongo-adapter Sun Oct 25 06:28:44 -0700 2009
HEAD is 2f813b8a8b53d3369cf745d55025dc962e66f44e

5 commits »

solnic started watching hassox/warden Wed Oct 21 02:46:53 -0700 2009
warden's description:
General Rack Authentication Framework
solnic started watching apotonick/cells Tue Oct 06 01:02:53 -0700 2009
cells's description:
Components for Rails.