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 44 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 Sun Nov 15 12:15:52 -0800 2009

  • dm-core

    DataMapper - Core

    legend

    Forked from datamapper/dm-core Wed Nov 11 06:17:25 -0800 2009

    Last updated Tue Nov 10 16:59:18 -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-is-formattable

    legend

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

Public Activity feed

solnic started watching wycats/bundler Mon Nov 23 05:16:09 -0800 2009
bundler was created Mon Jul 06 15:08:44 -0700 2009
solnic pushed to master at LunarLogicPolska/rubytime Sun Nov 22 13:06:59 -0800 2009
HEAD is 22f13334554e32c3c95a62f37f1031db8144ef33

2 commits »

solnic pushed to master at LunarLogicPolska/rubytime Sun Nov 22 12:36:53 -0800 2009
HEAD is 05d02f7029b3dae3d15e05ae0d0c5af442dab245

3 commits »

solnic started watching sickill/racksh Mon Nov 16 16:02:47 -0800 2009
racksh's description:
Console for any Rack based ruby web app
solnic started watching paul/datapathy Sun Nov 15 23:28:43 -0800 2009
datapathy's description:
A stupid-simple ORM that provides the minimum neccessary api, and stays out of your way
solnic started watching FreerangeFuture/gluttonberg Sun Nov 15 23:26:46 -0800 2009
gluttonberg's description:
A content management system built on top of Merb
solnic pushed to master at solnic/dm-mongo-adapter Sun Nov 15 12:15:52 -0800 2009
HEAD is 3c3fb6563269c1991242718ba64babfecb36d682
  • solnic committed 3c3fb656:
    tweaked #update so it work with an embedded resource
solnic pushed to master at solnic/dm-mongo-adapter Sun Nov 15 11:43:02 -0800 2009
HEAD is ce697804d550282e2fce8d07aee01e2089b0d9d1
  • solnic committed ce697804:
    Added an experimental support for embedded resources as properties.
solnic commented on solnic/dm-mongo-adapter Sun Nov 15 05:25:55 -0800 2009
Comment in ff50783:

@dkubb - regarding DBRef, it's an object that consists of 3 attributes: collection name, object id and an optional database name. Object id could be of any kind; however, by default mongo driver generates that special 24 length string. Any constraints are defined in the driver's ObjectID class, so if you pass a badly formatted string you will get an exception from the driver. You can pass either an instance of the Mongo::ObjectID class or a string, if you do the latter then it has to be 24 size and unique. The driver acts a little bit silly right now because when you pass an already existing object id you won't get any information about that, a record won't be saved and you won't know it. That's why the adapter uses auto-generated ids only, you cannot set them on your own right now.

solnic commented on solnic/dm-mongo-adapter Sun Nov 15 04:33:28 -0800 2009
Comment on spec/adapter_spec.rb in ff50783:

I made it just to avoid writing those ridiculously long namespaces for types specific to the adapter, no other reasons (for now at least)

solnic pushed to master at solnic/dm-mongo-adapter Fri Nov 13 13:56:38 -0800 2009
HEAD is ff507833108302d1300e2bc91f5d6d4bc676131c
  • solnic committed ff507833:
    added initial DBRef support via a custom DM type
solnic started watching sickill/merb-recaptcha Thu Nov 12 12:05:58 -0800 2009
merb-recaptcha's description:
Merb plugin that provides recaptcha.net service helpers
solnic pushed to master at solnic/dm-mongo-adapter Wed Nov 11 15:32:05 -0800 2009
HEAD is 014a3f978a26559998486a1fe2174fd81713c42f
  • solnic committed 014a3f97:
    Conditions are now split into two pieces, first one is used to perform mongo
solnic forked datamapper/dm-core Wed Nov 11 06:17:27 -0800 2009
Forked repository is at solnic/dm-core
solnic started watching flyerhzm/rails_best_practices Wed Nov 11 01:54:44 -0800 2009
rails_best_practices's description:
rails_best_practices is a gem to check quality of rails app files according to ihower’s presentation from Kungfu RailsConf in Shanghai China
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.