desktop-finder 0.0.1.3 → 0.0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/desktop/finder.rb +3 -0
- data/lib/desktop/finder/version.rb +1 -1
- metadata +1 -1
data/lib/desktop/finder.rb
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
require "desktop/finder/version"
|
2
|
+
require "action_view/helpers/tag_helper"
|
3
|
+
require "action_support/core_ext"
|
2
4
|
|
3
5
|
module Desktop
|
4
6
|
module Finder
|
@@ -8,6 +10,7 @@ module Desktop
|
|
8
10
|
end
|
9
11
|
|
10
12
|
def Finder.create(params, simple=false, form=nil)
|
13
|
+
puts '---------------finder create--------------------'
|
11
14
|
record = Kernel.const_get(params[:controller].classify).new.attributes
|
12
15
|
options = record.each_key.collect{|key|
|
13
16
|
value = []
|