Module: Squeel
- Extended by:
- Configuration
- Included in:
- SqueelRbg
- Defined in:
- lib/squeel.rb,
lib/squeel/dsl.rb,
lib/squeel/nodes.rb,
lib/squeel/context.rb,
lib/squeel/version.rb,
lib/squeel/nodes/as.rb,
lib/squeel/nodes/or.rb,
lib/squeel/constants.rb,
lib/squeel/nodes/and.rb,
lib/squeel/nodes/not.rb,
lib/squeel/nodes/join.rb,
lib/squeel/nodes/nary.rb,
lib/squeel/nodes/stub.rb,
lib/squeel/nodes/order.rb,
lib/squeel/nodes/unary.rb,
lib/squeel/nodes/binary.rb,
lib/squeel/configuration.rb,
lib/squeel/visitors/base.rb,
lib/squeel/nodes/aliasing.rb,
lib/squeel/nodes/function.rb,
lib/squeel/nodes/key_path.rb,
lib/squeel/nodes/operation.rb,
lib/squeel/nodes/operators.rb,
lib/squeel/nodes/predicate.rb,
lib/squeel/predicate_methods.rb,
lib/squeel/visitors/symbol_visitor.rb,
lib/squeel/nodes/predicate_operators.rb,
lib/squeel/visitors/attribute_visitor.rb,
lib/squeel/visitors/predicate_visitor.rb,
lib/squeel/adapters/active_record/context.rb,
lib/squeel/adapters/active_record/relation.rb,
lib/squeel/adapters/active_record/preloader.rb,
lib/squeel/adapters/active_record/3.0/context.rb,
lib/squeel/adapters/active_record/3.0/relation.rb,
lib/squeel/adapters/active_record/join_dependency.rb,
lib/squeel/adapters/active_record/join_association.rb,
lib/squeel/adapters/active_record/3.0/join_dependency.rb,
lib/squeel/adapters/active_record/3.0/join_association.rb,
lib/squeel/adapters/active_record/3.0/association_preload.rb
Defined Under Namespace
Modules: Adapters, Configuration, Constants, Nodes, PredicateMethods, Visitors Classes: Context, DSL
Constant Summary collapse
- VERSION =
"0.8.3"
Class Method Summary collapse
-
.evil_things ⇒ Object
Prevent warnings on the console when doing things some might describe as “evil”.
Methods included from Configuration
alias_predicate, configure, load_core_extensions
Class Method Details
.evil_things ⇒ Object
Prevent warnings on the console when doing things some might describe as “evil”
8 9 10 11 12 13 14 |
# File 'lib/squeel.rb', line 8 def self.evil_things original_verbosity = $VERBOSE $VERBOSE = nil yield ensure $VERBOSE = original_verbosity end |