Sha256: dba39dc4f473876e7dde3271a0873e746fb121e8db72e5e8c633fa8816a233f0

Contents?: true

Size: 122 Bytes

Versions: 109

Compression:

Stored size: 122 Bytes

Contents

require 'epitools'

if defined? Rails
  
  class ActiveRecord::Base
    def self.[](n)
      find n
    end
  end
  
end

Version data entries

109 entries across 109 versions & 1 rubygems

Version Path
epitools-0.5.103 lib/epitools/rails.rb
epitools-0.5.100 lib/epitools/rails.rb
epitools-0.5.99 lib/epitools/rails.rb
epitools-0.5.98 lib/epitools/rails.rb
epitools-0.5.97 lib/epitools/rails.rb
epitools-0.5.96 lib/epitools/rails.rb
epitools-0.5.95 lib/epitools/rails.rb
epitools-0.5.94 lib/epitools/rails.rb
epitools-0.5.93 lib/epitools/rails.rb
epitools-0.5.92 lib/epitools/rails.rb
epitools-0.5.91 lib/epitools/rails.rb
epitools-0.5.90 lib/epitools/rails.rb
epitools-0.5.89 lib/epitools/rails.rb
epitools-0.5.88 lib/epitools/rails.rb
epitools-0.5.87 lib/epitools/rails.rb
epitools-0.5.86 lib/epitools/rails.rb
epitools-0.5.85 lib/epitools/rails.rb
epitools-0.5.84 lib/epitools/rails.rb
epitools-0.5.83 lib/epitools/rails.rb
epitools-0.5.82 lib/epitools/rails.rb