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.81 lib/epitools/rails.rb
epitools-0.5.79 lib/epitools/rails.rb
epitools-0.5.78 lib/epitools/rails.rb
epitools-0.5.77 lib/epitools/rails.rb
epitools-0.5.75 lib/epitools/rails.rb
epitools-0.5.74 lib/epitools/rails.rb
epitools-0.5.73 lib/epitools/rails.rb
epitools-0.5.72 lib/epitools/rails.rb
epitools-0.5.71 lib/epitools/rails.rb
epitools-0.5.70 lib/epitools/rails.rb
epitools-0.5.69 lib/epitools/rails.rb
epitools-0.5.68 lib/epitools/rails.rb
epitools-0.5.67 lib/epitools/rails.rb
epitools-0.5.66 lib/epitools/rails.rb
epitools-0.5.65 lib/epitools/rails.rb
epitools-0.5.64 lib/epitools/rails.rb
epitools-0.5.63 lib/epitools/rails.rb
epitools-0.5.61 lib/epitools/rails.rb
epitools-0.5.60 lib/epitools/rails.rb
epitools-0.5.59 lib/epitools/rails.rb