Methods

Files

Class Index [+]

Quicksearch

Ubiquo::Adapters::Sqlite

Public Class Methods

included(klass) click to toggle source

(Not documented)

    # File vendor/plugins/ubiquo_core/lib/ubiquo/adapters/sqlite.rb, line 4
 4:       def self.included(klass)
 5:         klass.send :include, InstanceMethods
 6: 
 7:         if RUBY_PLATFORM =~ /java/
 8:           # support for custom function creation for the jdbc adapter
 9:           ::ActiveRecord::ConnectionAdapters::Sqlite3JdbcConnection.send(:include, Sqlite3JdbcFunctions)
10:         end
11: 
12:         klass.alias_method_chain :initialize, :regexp
13: 
14:         if ActiveRecord::Base.connection
15:           # initialize regexp for the already established connection
16:           ActiveRecord::Base.connection.create_regexp_method
17:         end
18:       end

Disabled; run with $DEBUG to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.