RubyGems Navigation menu

find_by_sql_file 0.9.9

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.

Gemfile
          gem 'find_by_sql_file', '~> 0.9.9'
  
  
  
  
  
  
  

install
          gem install find_by_sql_file
  
  
  
  
  
  
  

Authors:

  • Jordi Bunster

Owners:

Total downloads 1,679

For this version 1,679

Required Ruby Version: None

Links:

Versions:

  1. 0.9.9 - February 21, 2010 (8.5 KB)