RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

Kostyantyn — 4 posts

http://github.com/kostyantyn

FastAttributes is a gem which defines attributes with their types in your model and does it in the fastest way. Version 0.7.0 is just released and since now, it supports lenient data types.
If you are looking for a gem which allows you to define attributes in your model and you care about performance, please check out fast_attributes.

You can also look at performance comparison benchmark with other popular gems like virtus and attrio.
EAV implementation for ActiveRecord  ec2-54-229-138-34.eu-west-1.compute.amazonaws.com
The new version of hydra_attribute has been released! This gem allows you to create, rename or delete attributes for your model in runtime, search by them and many more :)

Please, check out the demo app in action!
I've just released the hydra_attribute 0.4.0 gem that allows to create or remove attributes for the model in runtime or assign unique attribute list for each record. Also it is possible to use query methods for selecting or grouping records by that attributes. There are a lot of examples on the github wiki page including database structure that this gem creates.