]> git.pld-linux.org Git - packages/ruby-activerecord.git/blob - ruby-activerecord-rubygems.patch
- updated to 2.3.5
[packages/ruby-activerecord.git] / ruby-activerecord-rubygems.patch
1 diff --git a/lib/active_record.rb b/lib/active_record.rb
2 index 2f8c5c7..424faeb 100644
3 --- a/lib/active_record.rb
4 +++ b/lib/active_record.rb
5 @@ -21,15 +21,7 @@
6  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
7  #++
8  
9 -begin
10 -  require 'active_support'
11 -rescue LoadError
12 -  activesupport_path = "#{File.dirname(__FILE__)}/../../activesupport/lib"
13 -  if File.directory?(activesupport_path)
14 -    $:.unshift activesupport_path
15 -    require 'active_support'
16 -  end
17 -end
18 +require 'active_support'
19  
20  module ActiveRecord
21    # TODO: Review explicit loads to see if they will automatically be handled by the initilizer.
This page took 0.065168 seconds and 4 git commands to generate.