Class: ActiveRecord::FixtureSet::RenderContext
- Defined in:
- activerecord/lib/active_record/fixtures.rb
Overview
:nodoc:
Class Method Summary collapse
Class Method Details
.create_subclass ⇒ Object
1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 |
# File 'activerecord/lib/active_record/fixtures.rb', line 1063 def self.create_subclass Class.new ActiveRecord::FixtureSet.context_class do def get_binding binding() end def binary(path) %(!!binary "#{Base64.strict_encode64(File.read(path))}") end end end |