RubyGems.org

This ActiveRecord extension lets you pass a symbol to ActiveRecord::Base#find_by_sql, which refers to a query file saved under app/queries/. Variable replacement and ERB are available, and comments and indentation are stripped.

installgem install find_by_sql_file
Authors

Jordi Bunster

1,613 total downloads 1,613 for this version
Owners

3d3c200d0a9fbb17a3bcaf1c3e8c2eeb

Gemfile
gem 'find_by_sql_file', '~> 0.9.9'
Versions
  1. 0.9.9 February 21, 2010 (8.5 KB)