diff options
author | Emilio Tagua <miloops@gmail.com> | 2009-04-23 13:51:10 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2009-04-23 13:51:10 -0300 |
commit | 318cf575eb2b7cf42cb133b3f24cd1aa5fa5e155 (patch) | |
tree | 482383c98bea288c2157a9b9208796bf1c2f3c99 /lib | |
parent | 7978b69948c4fe38911932766d45026467f45e52 (diff) | |
download | rails-318cf575eb2b7cf42cb133b3f24cd1aa5fa5e155.tar.gz rails-318cf575eb2b7cf42cb133b3f24cd1aa5fa5e155.tar.bz2 rails-318cf575eb2b7cf42cb133b3f24cd1aa5fa5e155.zip |
Required singleton
Diffstat (limited to 'lib')
-rw-r--r-- | lib/arel/relations/utilities/nil.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/arel/relations/utilities/nil.rb b/lib/arel/relations/utilities/nil.rb index 2b8dc570f8..56cf395d2c 100644 --- a/lib/arel/relations/utilities/nil.rb +++ b/lib/arel/relations/utilities/nil.rb @@ -1,8 +1,10 @@ +require 'singleton' + module Arel class Nil < Relation include Singleton - + def table_sql(formatter = nil); '' end def name; '' end end -end
\ No newline at end of file +end |