Adds more than 125 useful and frequently rather fundamental methods which are missing in Ruby programming language, to Array, File, Hash, Module, Object, String and Symbol classes. It tries to be similar project to Ruby Facets on principle, but less complex, more practical, non-atomic and organized by better way.
This RubyGem and Rails plugin adds a ‘validates_constancy_of’ validation to Active Record. It allows you to prevent particular database fields from being changed after a record is created. A validation error occurs on updates if an attribute of a model object is different from its value in the
... [More] database.
The code is packaged as both a RubyGem and a Rails plugin. You can use either one, depending on what your needs are.
NOTE: This project is no longer in active development. It has been superseded by the built-in attr_readonly method in Rails. [Less]
It provides an easy way to run multiple ruby scripts as daemon. Daemon can be controlled by start, stop and restart. It also supports blocks as daemons. It even supports running single daemon process like other popular daemonzing gems.
WWW::Delicious is a Ruby client for http://del.icio.us XML API.
It provides both read and write functionalities. You can read user Posts, Tags and Bundles but you can create new Posts, Tags and Bundles as well.
MultiConditions is a simple ActiveRecord plugin for storing ActiveRecord query conditions and make complex queries
painless.
This plugin doesn't replace ActiveRecord#with_scope method,
nor the basic :condition usage but extends it with the ability
of storing illimitate conditions in multiple step.
Load, parse and cascade CSS rule sets in Ruby.
Install the gem from RubyGems.
gem install css_parser
An example
require 'css_parser'
include CssParser
parser = CssParser::Parser.new
parser.load_file!('http://example.com/styles/style.css')
# lookup a rule by a
... [More] selector
parser.find('#content')
#=> 'font-size: 13px; line-height: 1.2;'
# lookup a rule by a selector and media type
parser.find('#content', [:screen, :handheld])
# iterate through selectors by media type
parser.each_selector(:screen) do |selector, declarations, specificity|
...
end
Made on Vancouver Island. [Less]
This site uses cookies to give you the best possible experience.
By using the site, you consent to our use of cookies.
For more information, please see our
Privacy Policy