asf_scaffold_generator 0.1.0 → 0.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.
@@ -8,8 +8,7 @@
8
8
  %>
9
9
  <% model = model_name.constantize
10
10
  connection = model.connection
11
- entity_name = connection.entity_name_from_table(model.table_name)
12
- entity_def = connection.get_entity_def(entity_name)
11
+ table_name, columns, entity_def = connection.lookup(model.table_name)
13
12
  layoutMetadata = entity_def.layouts
14
13
  %>
15
14
  <div class="bPageBlock secondaryPalette" id="ep"><div class="pbHeader">
@@ -8,8 +8,7 @@
8
8
  %>
9
9
  <% model = model_name.constantize
10
10
  connection = model.connection
11
- entity_name = connection.entity_name_from_table(model.table_name)
12
- entity_def = connection.get_entity_def(entity_name)
11
+ table_name, columns, entity_def = connection.lookup(model.table_name)
13
12
  layoutMetadata = entity_def.layouts
14
13
  %>
15
14
  <div class="bPageBlock secondaryPalette" id="ep"><div class="pbHeader">
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: asf_scaffold_generator
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.0
7
- date: 2006-03-05 00:00:00 -05:00
6
+ version: 0.1.1
7
+ date: 2006-03-13 00:00:00 -05:00
8
8
  summary: ActiveSalesforce Generator provides additional salesforce aware scaffolding support.
9
9
  require_paths:
10
10
  - lib
@@ -28,25 +28,25 @@ cert_chain:
28
28
  authors:
29
29
  - Doug Chasman
30
30
  files:
31
+ - ./USAGE
31
32
  - ./asf_scaffold_generator.rb
32
33
  - ./build.sh
33
34
  - ./templates
34
- - ./USAGE
35
- - ./templates/asf_form_scaffolding.rhtml
36
- - ./templates/asf_layout.rhtml
37
35
  - ./templates/asf_resolveids_controller.rb
38
- - ./templates/asf_view_edit.rhtml
39
36
  - ./templates/asf_view_list.rhtml
40
- - ./templates/asf_view_new.rhtml
41
37
  - ./templates/asf_view_show.rhtml
38
+ - ./templates/asf_view_edit.rhtml
39
+ - ./templates/asf_view_new.rhtml
40
+ - ./templates/asf_form_scaffolding.rhtml
41
+ - ./templates/asf_layout.rhtml
42
42
  - ./templates/form.rhtml
43
- - templates/asf_form_scaffolding.rhtml
44
- - templates/asf_layout.rhtml
45
43
  - templates/asf_resolveids_controller.rb
46
- - templates/asf_view_edit.rhtml
47
44
  - templates/asf_view_list.rhtml
48
- - templates/asf_view_new.rhtml
49
45
  - templates/asf_view_show.rhtml
46
+ - templates/asf_view_edit.rhtml
47
+ - templates/asf_view_new.rhtml
48
+ - templates/asf_form_scaffolding.rhtml
49
+ - templates/asf_layout.rhtml
50
50
  - templates/form.rhtml
51
51
  - USAGE
52
52
  test_files: []