Skip to content

Instantly share code, notes, and snippets.

@leikind
leikind / wice_grid_custom_filter_params.md
Created January 4, 2015 23:13
A new view helper for WiceGrid
@leikind
leikind / WiceGrid version 3.2.1.pre3.md
Created January 4, 2015 23:11
WiceGrid version 3.2.1.pre3
@leikind
leikind / WiceGrid version 3.2.0.pre2.md
Created January 4, 2015 23:09
WiceGrid version 3.2.0.pre2

AUGUST 04, 2012

Here comes WiceGrid version 3.2.0.pre2.

Differences from 3.2.0.pre1:

  • will_paginate is replaced by kaminari.
  • The detached filter API has changed. No more magical invocation of the grid helper two times. First, define_grid is used in the same way as grid, then grid_filter, and then render_grid(grid) to actually output the grid table .
  • No more polluting core Ruby classes like Hash and Array with methods. All such methods are now private for the plugin.
@leikind
leikind / What I spent my Sunday evening on.md
Created January 4, 2015 23:06
What I spent my Sunday evening on...

DECEMBER 06, 2009

WiceGrid is now compatible with the new Rails XSS behavior which will be default in Rails 3.0 and is available in Rails 2.3.5 with the help of the rails_xss plugin.

WiceGrid has started using merge_conditions to process conditions, and conditions can be in any format processable by ActiveRecord, including hashes of hashes. An intentional side effect of this is that WiceGrid does not support Rails older than 2.1.0.

@leikind
leikind / SproutCore.md
Created January 4, 2015 23:05
SproutCore

APRIL 21, 2010

To celebrate the release of SproutCore version 1.0 I have worked through their tutorial building a simple ToDo application.

Well. Impressive. The people behind it do know how Cocoa works and managed to take its MVC to the web.

The backend becomes a simple RESTful data provider implementing CRUD's for models, via JSON by default, but it can be any other data format. I used Rails as the backend, but really, Rails as a SproutCore backend seems an overkill - half of the Rails stack is not used. Sinatra with ActiveRecord feels more appropriate.

The only thing is that writing a DataSource, a class responsible for the communication with the backend, requires a bit too much code, more verbose that the code for models, views, and controllers.

@leikind
leikind / Saved Queries.md
Created January 4, 2015 23:03
Saved Queries
@leikind
leikind / dict_client 0.0.1.md
Created January 4, 2015 22:59
dict_client 0.0.1

JULY 25, 2013

I have just released dict_client 0.0.1.

The code was originally written by Dave Pearson, I have rewritten it partially and packaged it.

The Dictionary Server Protocol is a TCP transaction based query/response protocol that allows a client to access dictionary definitions from a set of natural language dictionary databases. See RFC 2229 for details.

@leikind
leikind / Wice Assignment Lists version 0.2.md
Last active August 29, 2015 14:12
Wice Assignment Lists version 0.2
@leikind
leikind / WiceGrid got an Ohloh review.md
Created January 4, 2015 22:53
WiceGrid got an Ohloh review :)