Sha256: 5a63e969e5b7b55c368235df6c1108fbd65201fc7220ba38263fb4ade1145e6c
Contents?: true
Size: 855 Bytes
Versions: 2
Compression:
Stored size: 855 Bytes
Contents
SetBuilder ========== SetBuilder's purpose is to transform _described_ data sets into queries or natural language. Example ======= The following set describes a group of people using simple data structures (Arrays, Strings, Symbols, and Hashes): [[:awesome], [:attended, "school"], [:died, :not], [:name, {:is => "Jerome"}]] SetBuilder can render this set in plain English: [Everyone] who is awesome, who attended school, who has not died, and whose name is Jerome. It can also generate a NamedScope on an ActiveRecord model to fetch the people who fit in this set. Usage ===== Roadmap ======= Right now SetBuilder uses ActiveRecord::NamedScope::Scope internally, but it shouldn't be hard to refactor it to use DataMapper's composable queries instead. Copyright (c) 2010 Bob Lail, released under the MIT license
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
set_builder-1.1.0 | README.md |
set_builder-1.0.2 | README.md |