mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
Hack to force Rails to run query, not give a proxy object
This commit is contained in:
parent
9b325c999a
commit
ea9ed66866
2 changed files with 2 additions and 1 deletions
|
@ -12,6 +12,7 @@ module Draper
|
|||
self.denied = DEFAULT_DENIED
|
||||
|
||||
def initialize(subject)
|
||||
subject.inspect
|
||||
self.source = subject
|
||||
build_methods
|
||||
end
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
module Draper
|
||||
VERSION = "0.3.3"
|
||||
VERSION = "0.3.4"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue