We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c81ca6 commit 154f157Copy full SHA for 154f157
lib/liquid-rails/drops/drop.rb
@@ -40,12 +40,13 @@ def self.drop_class_for(resource)
40
41
# Create a drop instance when it cannot be inferred.
42
def self.dropify(resource, options={})
43
+ binding.pry
44
drop_class = if options[:class_name]
45
options[:class_name].constantize
46
else
47
drop_class_for(resource)
48
end
-
49
+ # eval "resource.#{options[:scope]}"
50
drop_class.new(resource, options.except(:class_name))
51
52
0 commit comments