module ConsoleUpdate
Constants
- VERSION
Attributes
editor[RW]
filter[RW]
Public Class Methods
enable_named_scope()
click to toggle source
Adds a global scoped method, console_update(), which can be chained to the end of any named scopes. For example, if Url has a named scope :tagged_with:
Url.tagged_with('physics').console_update
# File lib/console_update/named_scope.rb, line 7 def self.enable_named_scope ActiveRecord::NamedScope::Scope.send :include, NamedScope end