There are no reviews yet. Be the first to send feedback to the community and the maintainers!
fuzzy_match
Find a needle (a document or record) in a haystack using string similarity and (optionally) regular expression rules. Uses Dice's Coefficient (aka Pair Similiarity) and Levenshtein Distance internally.upsert
Upsert on MySQL, PostgreSQL, and SQLite3. Transparently creates functions (UDF) for MySQL and PostgreSQL; on SQLite3, uses INSERT OR IGNORE.data_miner
Download, unpack from a ZIP/TAR/GZ/BZ2 archive, parse, correct, convert units and import Google Spreadsheets, XLS, ODS, XML, CSV, HTML, etc. into your ActiveRecord models. Uses RemoteTable gem internally.unix_utils
Like FileUtils, but provides zip, unzip, bzip2, bunzip2, tar, untar, sed, du, md5sum, shasum, cut, head, tail, wc, unix2dos, dos2unix, iconv, curl, perl, etc.remote_table
Open local or remote XLSX, XLS, ODS, CSV (comma separated), TSV (tab separated), other delimited, fixed-width files, and Google Docs. Returns an enumerator of Arrays or Hashes, depending on whether there are headers.cache_method
Cache based on arguments AND object state; store in memcached, redis, or in-process. Like alias_method, but it's cache_method! One step beyond memoization.lock_and_cache
Most caching libraries don't do locking, meaning that >1 process can be calculating a cached value at the same time. Since you presumably cache things because they cost CPU, database reads, or money, doesn't it make sense to lock while caching?mysql2xxxx
Gives you binaries like mysql2csv, mysql2json, and mysql2xml, and Ruby classes to match.cache
Defines a simple interface to multiple cache-like storage engines by wrapping common Ruby client libraries like memcached, redis, memcache-client, dalli. Handles each underlying library's weirdnesses, including forking.eat
A (better?) replacement for open-uri. Lets you open local and remote files by immediately returning their contents as a string.to_regexp
Provides String#to_regexperrata
Define an errata in table format (CSV) and then apply it to an arbitrary source. Inspired by RFC Errata, lets you keep your own errata in a transparent way.cacheable
DEPRECATED. Use cache_method instead.report
DSL for creating clean CSV, XLSX, and PDF reports in Ruby. Uses xlsx_writer, prawn and pdftk internally.database_url
Convert back and forth between Heroku-style ENV['DATABASE_URL'] and Rails/ActiveRecord-style config/database.yml hashes.lock_method
Like alias_method, but it's lock_method! (lockfiles)common_name
Helps you stop using chains of humanize/downcase/underscore/pluralize/to_sym/etc everywhere in your models, your views, your controllers, etc.engineyard-metadata
Presents a simple, unchanging interface to get metadata about your EngineYard AppCloud instances running on Amazon EC2.cohort_analysis
TBDcreate_table
Analyze and inspect CREATE TABLE SQL statements and translate across databases. Uses Ragel internally for parsing.ruby_ragel_examples
Examples of using ragel and ruby togetherfuzzy_infer
Fuzzy set analysis - predicts one or more unknown characteristics of an input case by comparing its known characteristics to a reference dataset whose records contain both the known and unknown characteristics.the_geom_geojson
For PostGIS/PostgreSQL and ActiveRecord, provides "the_geom_geojson" getter and setter that update "the_geom" and "the_geom_webmercator" columns.validates_decency_of
Rails plugin that uses George Carlin's list of seven dirty words (aka swear words, aka cuss words, aka bad words) to check for "decency" on ActiveRecord model attributes.weighted_average
Aircraft.average(:seats) versus Aircraft.weighted_average(:seats, :weighted_by => :takeoffs)loose_tight_dictionary
DEPRECATED: use fuzzy_match. Find a needle in a haystack using string similarity and (optionally) regexp rules.pg_trgm
Ruby trigram similarity that is identical to Postgres's (almost)redirect_routing
hash_digest
Generates non-cryptographic digests of Hashes (and Arrays) indifferent to key type (string or symbol) and ordering.ey_cloud_awareness
DEPRECATED: use engineyard-metadata. Make your EngineYard cloud instances aware of each other.xml_split
Split XML files on an element, yielding (streaming, so constant memory usage) each node in turn. Uses sgrep2 internally; future versions should use a pure-Ruby SAX parser.characterizable
DEPRECATED. Use charisma instead.has_handle_fallback
Make it easy to use handles (callsigns/monikers/usernames) in URLs, even if they might be blank.table_warnings
Warn yourself of problems with your ActiveRecord tables.to_json_fix
TODO: one-line summary of your gemhoneypot
TODO: one-line summary of your gemcohort_scope
DEPRECATED. Use cohort_analysis. Provides cohorts (in the form of ActiveRecord scopes) that dynamically widen until they contain a certain number of records.vector_embed
Vector embedding of strings, booleans, numerics, and arrays into LIBSVM / LIBLINEAR format.switches
Turn on and off parts of your code based on yaml files.flights1percent
1% flightszmq
Drop-in replacement for zmq gem with included binariesjson_to_csv_to_json
csv_to_json and json_to_csvcvg
Like jq or grep for csv. Combine one or more CSVs while filtering on fields with regular expressions, whitelists, presence, missing, etc.has_timestamps
Rails plugin to add named timestamps to ActiveRecord models.zip5
Convert United States zip codes to their correct Zip5 representation, even if they're missing a leading zero and/or they have the +4 suffix.string_enumerator
Given a string containing placeholders (like [color]), enumerate all of the possible strings resulting from filling those placeholders with replacements (like red, blue).nonrandomapp
mini_record
mini_record-compat is DEPRECATED. Use original mini_record OR active_record_inline_schema instead.string_replacer
DEPRECATED/POINTLESS - use sed or augeas. Replace text in a file without disturbing the rest of the file.geocode_records
As long as you do very specific things... quickly re-geocode tables.force_schema
[DEPRECATED - use mini_record] Declare a table structure like an ActiveRecord migration and run 'force_schema!' whenever you want. For when you don't need up and down migrations.fast_timestamp
Rapidly and arbitrarily timestamp ActiveRecord records.Love Open Source and this site? Check out how you can help us