scaffolding_extensions 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README
CHANGED
@@ -47,6 +47,7 @@ You can get Scaffolding Extensions via subversion or as a gem:
|
|
47
47
|
|
48
48
|
* svn: svn://code.jeremyevans.net/rails-plugins/scaffolding_extensions
|
49
49
|
* gem: sudo gem install scaffolding_extensions
|
50
|
+
* demo: http://scaffolding-extensions.jeremyevans.net/
|
50
51
|
* RDoc: http://code.jeremyevans.net/doc/scaffolding_extensions
|
51
52
|
* Bug Tracker: http://rubyforge.org/tracker/?atid=22169&group_id=5726&func=browse
|
52
53
|
* Forum: http://rubyforge.org/forum/forum.php?forum_id=22403
|
@@ -91,7 +91,7 @@ module ScaffoldingExtensions::MetaModel
|
|
91
91
|
:search_limit=>:scaffold_search_results_limit}.each do |default, iv|
|
92
92
|
ivs = "@#{iv}"
|
93
93
|
define_method(iv) do
|
94
|
-
if
|
94
|
+
if instance_variables.include?(ivs)
|
95
95
|
instance_variable_get(ivs)
|
96
96
|
else
|
97
97
|
instance_variable_set(ivs, SCAFFOLD_OPTIONS[default])
|
@@ -9,7 +9,7 @@ module ScaffoldingExtensions
|
|
9
9
|
meth = "scaffold_#{action}_#{m}"
|
10
10
|
if respond_to?(meth)
|
11
11
|
Proc.new{send(meth)}
|
12
|
-
elsif
|
12
|
+
elsif instance_variables.include?(meth = "@#{meth}")
|
13
13
|
Proc.new{instance_variable_get(meth)}
|
14
14
|
end
|
15
15
|
end
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: scaffolding_extensions
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.1.
|
7
|
-
date: 2008-03-
|
6
|
+
version: 1.1.1
|
7
|
+
date: 2008-03-16 00:00:00 -07:00
|
8
8
|
summary: Administrative database front-end for multiple web-frameworks and ORMs
|
9
9
|
require_paths:
|
10
10
|
- lib
|