has_many_through_generator 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/HOWTO +473 -0
- data/MIT-LICENSE +20 -0
- data/README +18 -0
- data/has_many_through_generator.rb +330 -0
- data/templates/controller.rb +116 -0
- data/templates/controller_manytomany.rb +56 -0
- data/templates/fixtures.yml +8 -0
- data/templates/fixtures_manytomany.yml +13 -0
- data/templates/functional_test.rb +78 -0
- data/templates/functional_test_manytomany.rb +75 -0
- data/templates/helper.rb +2 -0
- data/templates/layout.rhtml +15 -0
- data/templates/migration.rb +11 -0
- data/templates/migration_manytomany.rb +12 -0
- data/templates/model.rb +4 -0
- data/templates/model_manytomany.rb +8 -0
- data/templates/partial_form.rhtml +3 -0
- data/templates/stylesheet.css +5 -0
- data/templates/unit_test.rb +67 -0
- data/templates/unit_test_manytomany.rb +68 -0
- data/templates/view_index.rhtml +1 -0
- metadata +67 -0
@@ -0,0 +1 @@
|
|
1
|
+
<h1>Index of <%= plural_name %></h1>
|
metadata
ADDED
@@ -0,0 +1,67 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.8.11
|
3
|
+
specification_version: 1
|
4
|
+
name: has_many_through_generator
|
5
|
+
version: !ruby/object:Gem::Version
|
6
|
+
version: 0.4.0
|
7
|
+
date: 2006-07-20 00:00:00 +02:00
|
8
|
+
summary: Has Many Through is a rails generator for models with a many-to-many relationship
|
9
|
+
require_paths:
|
10
|
+
- lib
|
11
|
+
email:
|
12
|
+
homepage:
|
13
|
+
rubyforge_project:
|
14
|
+
description: Generates two ActiveRecord models, a many-to-many model, and a *has_many :other_model, :through => :join_model* relationship between them
|
15
|
+
autorequire: rails_generator/generators/components/model/model_generator
|
16
|
+
default_executable:
|
17
|
+
bindir: bin
|
18
|
+
has_rdoc: false
|
19
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.0.0
|
24
|
+
version:
|
25
|
+
platform: ruby
|
26
|
+
signing_key:
|
27
|
+
cert_chain:
|
28
|
+
authors: []
|
29
|
+
|
30
|
+
files:
|
31
|
+
- README
|
32
|
+
- MIT-LICENSE
|
33
|
+
- CHANGELOG
|
34
|
+
- HOWTO
|
35
|
+
- has_many_through_generator.rb
|
36
|
+
- templates/
|
37
|
+
- templates/stylesheet.css
|
38
|
+
- templates/layout.rhtml
|
39
|
+
- templates/functional_test_manytomany.rb
|
40
|
+
- templates/controller_manytomany.rb
|
41
|
+
- templates/view_index.rhtml
|
42
|
+
- templates/partial_form.rhtml
|
43
|
+
- templates/helper.rb
|
44
|
+
- templates/functional_test.rb
|
45
|
+
- templates/controller.rb
|
46
|
+
- templates/unit_test_manytomany.rb
|
47
|
+
- templates/model_manytomany.rb
|
48
|
+
- templates/migration_manytomany.rb
|
49
|
+
- templates/fixtures_manytomany.yml
|
50
|
+
- templates/unit_test.rb
|
51
|
+
- templates/model.rb
|
52
|
+
- templates/migration.rb
|
53
|
+
- templates/fixtures.yml
|
54
|
+
test_files: []
|
55
|
+
|
56
|
+
rdoc_options: []
|
57
|
+
|
58
|
+
extra_rdoc_files: []
|
59
|
+
|
60
|
+
executables: []
|
61
|
+
|
62
|
+
extensions: []
|
63
|
+
|
64
|
+
requirements:
|
65
|
+
- none
|
66
|
+
dependencies: []
|
67
|
+
|