will_filter 3.1.1 → 3.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,2 +1,8 @@
1
+ == 3.1.2, released 2011-10-01
2
+ * fixed associations
3
+ * fixed debugging info
4
+
1
5
  == 3.1.1, released 2011-09-29
2
- == 0.1.0, released 2010-07-02
6
+ * upgraded to Rails 3.1
7
+
8
+ == 2.3.1, released 2010-07-02
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- will_filter (3.1.1)
4
+ will_filter (3.1.2)
5
5
  coffee-script
6
6
  kaminari
7
7
  rails (>= 3.1.0)
@@ -136,7 +136,7 @@ GEM
136
136
  treetop (1.4.10)
137
137
  polyglot
138
138
  polyglot (>= 0.3.1)
139
- tzinfo (0.3.29)
139
+ tzinfo (0.3.30)
140
140
  xpath (0.1.4)
141
141
  nokogiri (~> 1.3)
142
142
 
data/README.rdoc CHANGED
@@ -13,6 +13,7 @@ a matter of adding two lines of code - one to your controller and one to your vi
13
13
  Add the following gems to your Gemfile:
14
14
 
15
15
  gem 'will_filter', "~> 3.1.0"
16
+ gem 'kaminari'
16
17
 
17
18
  And run:
18
19
 
@@ -23,6 +24,11 @@ To configure and initialize will_filter engine, run the following commands:
23
24
  $ rails generate will_filter
24
25
  $ rake db:migrate
25
26
 
27
+ At the top of your routes.rb file, add the following line:
28
+
29
+ mount WillFilter::Engine => "/will_filter"
30
+
31
+
26
32
  == Examples
27
33
 
28
34
  To add a filtered result-set to your controller use the following method call:
@@ -132,9 +132,8 @@ module WillFilter
132
132
  model_columns.each do |col|
133
133
  defs[col.name.to_sym] = default_condition_definition_for(col.name, col.sql_type)
134
134
  end
135
-
136
135
  inner_joins.each do |inner_join|
137
- join_class = inner_join.first.to_s.camelcase.constantize
136
+ join_class = association_class(inner_join)
138
137
  join_class.columns.each do |col|
139
138
  defs[:"#{join_class.to_s.underscore}.#{col.name.to_sym}"] = default_condition_definition_for(col.name, col.sql_type)
140
139
  end
@@ -238,7 +237,7 @@ module WillFilter
238
237
  # Can be overloaded for custom titles
239
238
  #############################################################################
240
239
  def condition_title_for(key)
241
- title = key.to_s.gsub(".", ": ").gsub("_", " ")
240
+ title = key.to_s.gsub(".", ": ").gsub("_", " ").split("/").last
242
241
  title.split(" ").collect{|part| part.capitalize}.join(" ")
243
242
  end
244
243
 
@@ -531,7 +530,7 @@ module WillFilter
531
530
 
532
531
  all_conditions << cond
533
532
  end
534
- all_conditions
533
+ all_conditions.join("")
535
534
  end
536
535
 
537
536
  def debug_sql_conditions
@@ -666,12 +665,20 @@ module WillFilter
666
665
  def process_custom_format
667
666
  ""
668
667
  end
668
+
669
+ def association_name(inner_join)
670
+ (inner_join.is_a?(Array) ? inner_join.first : inner_join).to_sym
671
+ end
669
672
 
673
+ def association_class(inner_join)
674
+ model_class.new.association(association_name(inner_join)).build.class
675
+ end
676
+
670
677
  # deprecated for Rails 3.0 and up
671
678
  def joins
672
679
  return nil if inner_joins.empty?
673
680
  inner_joins.collect do |inner_join|
674
- join_table_name = inner_join.first.to_s.camelcase.constantize.table_name
681
+ join_table_name = association_class(inner_join).table_name
675
682
  join_on_field = inner_join.last.to_s
676
683
  "INNER JOIN #{join_table_name} ON #{join_table_name}.id = #{table_name}.#{join_on_field}"
677
684
  end
@@ -681,8 +688,8 @@ module WillFilter
681
688
  @results ||= begin
682
689
  handle_empty_filter!
683
690
  recs = model_class.where(sql_conditions).order(order_clause)
684
- inner_joins.each do |j|
685
- recs = recs.joins(j.first)
691
+ inner_joins.each do |inner_join|
692
+ recs = recs.joins(association_name(inner_join))
686
693
  end
687
694
  recs = recs.page(page).per(per_page)
688
695
  recs.wf_filter = self
@@ -25,7 +25,7 @@
25
25
  </div>
26
26
 
27
27
  <div id="wf_debugger" class="debugger" style="display:none;">
28
- <%= wf_filter.debug_sql_conditions %>
28
+ <%= raw(wf_filter.debug_sql_conditions) %>
29
29
  </div>
30
30
  </div>
31
31
  <% end %>
@@ -22,5 +22,5 @@
22
22
  #++
23
23
 
24
24
  module WillFilter
25
- VERSION = "3.1.1"
25
+ VERSION = "3.1.2"
26
26
  end
@@ -0,0 +1,2 @@
1
+ // Place all the behaviors and hooks related to the matching controller here.
2
+ // All this logic will automatically be available in application.js.
@@ -0,0 +1,4 @@
1
+ /*
2
+ Place all the styles related to the matching controller here.
3
+ They will automatically be included in application.css.
4
+ */
@@ -0,0 +1,9 @@
1
+ class OrdersController < ApplicationController
2
+ def index
3
+ @orders = Merchant::Order.filter(:params => params, :filter => Merchant::OrderFilter)
4
+ end
5
+
6
+ def items
7
+ @order_items = Merchant::OrderItem.filter(:params => params, :filter => Merchant::OrderItemFilter)
8
+ end
9
+ end
@@ -0,0 +1,2 @@
1
+ module OrdersHelper
2
+ end
@@ -35,7 +35,7 @@ class EventFilter < WillFilter::Filter
35
35
  end
36
36
 
37
37
  def inner_joins
38
- [[:user, :creator_id]]
38
+ [:user]
39
39
  end
40
40
 
41
41
  end
@@ -1,7 +1,7 @@
1
1
  class EventUserFilter < WillFilter::Filter
2
2
 
3
3
  def inner_joins
4
- [[:user, :user_id], [:event, :event_id]]
4
+ [:user, :event]
5
5
  end
6
6
 
7
7
  def definition
@@ -0,0 +1,7 @@
1
+ module Merchant
2
+ class Order < ActiveRecord::Base
3
+ set_table_name :merchant_orders
4
+ belongs_to :user
5
+ has_many :order_items
6
+ end
7
+ end
@@ -0,0 +1,9 @@
1
+ module Merchant
2
+ class OrderFilter < WillFilter::Filter
3
+
4
+ def inner_joins
5
+ [:user]
6
+ end
7
+
8
+ end
9
+ end
@@ -0,0 +1,6 @@
1
+ module Merchant
2
+ class OrderItem < ActiveRecord::Base
3
+ set_table_name :merchant_order_items
4
+ belongs_to :order, :class_name => "Merchant::Order"
5
+ end
6
+ end
@@ -0,0 +1,9 @@
1
+ module Merchant
2
+ class OrderItemFilter < WillFilter::Filter
3
+
4
+ def inner_joins
5
+ [:order]
6
+ end
7
+
8
+ end
9
+ end
@@ -0,0 +1,16 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
+ <html>
3
+ <head>
4
+ <title>will_filter examples</title>
5
+ <%= stylesheet_link_tag "application" %>
6
+ <%= javascript_include_tag "application" %>
7
+ <%= csrf_meta_tags %>
8
+ </head>
9
+ <body style="margin:0px;">
10
+ <center>
11
+ <div style="margin-top:20px;width:900px;text-align:left;">
12
+ <%= yield %>
13
+ </div>
14
+ </center>
15
+ </body>
16
+ </html>
@@ -0,0 +1,2 @@
1
+ <%= will_filter_tag(@orders) %>
2
+ <%= will_filter_table_tag(@orders) %>
@@ -0,0 +1,2 @@
1
+ <%= will_filter_tag(@order_items) %>
2
+ <%= will_filter_table_tag(@order_items) %>
@@ -1,4 +1,5 @@
1
1
  Rails.application.routes.draw do
2
+
2
3
  mount WillFilter::Engine => "/will_filter"
3
4
 
4
5
  match 'simple/users'
@@ -8,6 +9,9 @@ Rails.application.routes.draw do
8
9
  match 'advanced/users_with_actions'
9
10
  match 'advanced/events'
10
11
  match 'advanced/event_members'
12
+
13
+ match 'orders/index', :to => "orders#index"
14
+ match 'orders/items'
11
15
 
12
16
  root :to => "simple#users"
13
17
  end
@@ -0,0 +1,13 @@
1
+ class CreateOrders < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :merchant_orders do |t|
4
+ t.integer :user_id
5
+ t.integer :amount
6
+ t.timestamps
7
+ end
8
+ end
9
+
10
+ def self.down
11
+ drop_table :merchant_orders
12
+ end
13
+ end
@@ -0,0 +1,14 @@
1
+ class CreateOrderItems < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :merchant_order_items do |t|
4
+ t.integer :order_id
5
+ t.string :name
6
+ t.integer :price
7
+ t.timestamps
8
+ end
9
+ end
10
+
11
+ def self.down
12
+ drop_table :merchant_order_items
13
+ end
14
+ end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended to check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20110924023807) do
14
+ ActiveRecord::Schema.define(:version => 20111001193027) do
15
15
 
16
16
  create_table "event_users", :force => true do |t|
17
17
  t.integer "event_id"
@@ -37,6 +37,21 @@ ActiveRecord::Schema.define(:version => 20110924023807) do
37
37
 
38
38
  add_index "events", ["creator_id"], :name => "index_events_on_creator_id"
39
39
 
40
+ create_table "merchant_order_items", :force => true do |t|
41
+ t.integer "order_id"
42
+ t.string "name"
43
+ t.integer "price"
44
+ t.datetime "created_at"
45
+ t.datetime "updated_at"
46
+ end
47
+
48
+ create_table "merchant_orders", :force => true do |t|
49
+ t.integer "user_id"
50
+ t.integer "amount"
51
+ t.datetime "created_at"
52
+ t.datetime "updated_at"
53
+ end
54
+
40
55
  create_table "users", :force => true do |t|
41
56
  t.string "first_name"
42
57
  t.string "last_name"
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+
3
+ class OrdersControllerTest < ActionController::TestCase
4
+ test "should get index" do
5
+ get :index
6
+ assert_response :success
7
+ end
8
+
9
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class OrdersHelperTest < ActionView::TestCase
4
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: will_filter
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-29 00:00:00.000000000 -07:00
12
+ date: 2011-10-01 00:00:00.000000000 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
- requirement: &2160270500 !ruby/object:Gem::Requirement
17
+ requirement: &2152833300 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 3.1.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2160270500
25
+ version_requirements: *2152833300
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: kaminari
28
- requirement: &2160269980 !ruby/object:Gem::Requirement
28
+ requirement: &2152832660 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2160269980
36
+ version_requirements: *2152832660
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: sass
39
- requirement: &2160269500 !ruby/object:Gem::Requirement
39
+ requirement: &2152832180 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: '0'
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *2160269500
47
+ version_requirements: *2152832180
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: coffee-script
50
- requirement: &2160269020 !ruby/object:Gem::Requirement
50
+ requirement: &2152831700 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: '0'
56
56
  type: :runtime
57
57
  prerelease: false
58
- version_requirements: *2160269020
58
+ version_requirements: *2152831700
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: bundler
61
- requirement: &2160268540 !ruby/object:Gem::Requirement
61
+ requirement: &2152831220 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: 1.0.0
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *2160268540
69
+ version_requirements: *2152831220
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: sqlite3
72
- requirement: &2160268060 !ruby/object:Gem::Requirement
72
+ requirement: &2152830740 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ! '>='
@@ -77,10 +77,10 @@ dependencies:
77
77
  version: '0'
78
78
  type: :development
79
79
  prerelease: false
80
- version_requirements: *2160268060
80
+ version_requirements: *2152830740
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: rspec
83
- requirement: &2160267580 !ruby/object:Gem::Requirement
83
+ requirement: &2152830260 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ! '>='
@@ -88,10 +88,10 @@ dependencies:
88
88
  version: '0'
89
89
  type: :development
90
90
  prerelease: false
91
- version_requirements: *2160267580
91
+ version_requirements: *2152830260
92
92
  - !ruby/object:Gem::Dependency
93
93
  name: rspec-rails
94
- requirement: &2160267100 !ruby/object:Gem::Requirement
94
+ requirement: &2152829780 !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements:
97
97
  - - ! '>='
@@ -99,10 +99,10 @@ dependencies:
99
99
  version: '0'
100
100
  type: :development
101
101
  prerelease: false
102
- version_requirements: *2160267100
102
+ version_requirements: *2152829780
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: factory_girl
105
- requirement: &2160266620 !ruby/object:Gem::Requirement
105
+ requirement: &2152829300 !ruby/object:Gem::Requirement
106
106
  none: false
107
107
  requirements:
108
108
  - - ! '>='
@@ -110,10 +110,10 @@ dependencies:
110
110
  version: '0'
111
111
  type: :development
112
112
  prerelease: false
113
- version_requirements: *2160266620
113
+ version_requirements: *2152829300
114
114
  - !ruby/object:Gem::Dependency
115
115
  name: rr
116
- requirement: &2160266140 !ruby/object:Gem::Requirement
116
+ requirement: &2152828820 !ruby/object:Gem::Requirement
117
117
  none: false
118
118
  requirements:
119
119
  - - ! '>='
@@ -121,10 +121,10 @@ dependencies:
121
121
  version: '0'
122
122
  type: :development
123
123
  prerelease: false
124
- version_requirements: *2160266140
124
+ version_requirements: *2152828820
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: steak
127
- requirement: &2160265660 !ruby/object:Gem::Requirement
127
+ requirement: &2152828320 !ruby/object:Gem::Requirement
128
128
  none: false
129
129
  requirements:
130
130
  - - ! '>='
@@ -132,10 +132,10 @@ dependencies:
132
132
  version: '0'
133
133
  type: :development
134
134
  prerelease: false
135
- version_requirements: *2160265660
135
+ version_requirements: *2152828320
136
136
  - !ruby/object:Gem::Dependency
137
137
  name: capybara
138
- requirement: &2160265180 !ruby/object:Gem::Requirement
138
+ requirement: &2152827540 !ruby/object:Gem::Requirement
139
139
  none: false
140
140
  requirements:
141
141
  - - ! '>='
@@ -143,10 +143,10 @@ dependencies:
143
143
  version: '0'
144
144
  type: :development
145
145
  prerelease: false
146
- version_requirements: *2160265180
146
+ version_requirements: *2152827540
147
147
  - !ruby/object:Gem::Dependency
148
148
  name: database_cleaner
149
- requirement: &2160264700 !ruby/object:Gem::Requirement
149
+ requirement: &2152826860 !ruby/object:Gem::Requirement
150
150
  none: false
151
151
  requirements:
152
152
  - - ! '>='
@@ -154,7 +154,7 @@ dependencies:
154
154
  version: '0'
155
155
  type: :development
156
156
  prerelease: false
157
- version_requirements: *2160264700
157
+ version_requirements: *2152826860
158
158
  description: will_filter is a powerful customizable framework for filtering active_record
159
159
  models.
160
160
  email:
@@ -330,18 +330,26 @@ files:
330
330
  - test/dummy/Rakefile
331
331
  - test/dummy/app/.DS_Store
332
332
  - test/dummy/app/assets/javascripts/application.js
333
+ - test/dummy/app/assets/javascripts/orders.js
333
334
  - test/dummy/app/assets/stylesheets/application.css
334
335
  - test/dummy/app/assets/stylesheets/kaminari.css
336
+ - test/dummy/app/assets/stylesheets/orders.css
335
337
  - test/dummy/app/controllers/advanced_controller.rb
336
338
  - test/dummy/app/controllers/application_controller.rb
339
+ - test/dummy/app/controllers/orders_controller.rb
337
340
  - test/dummy/app/controllers/simple_controller.rb
338
341
  - test/dummy/app/helpers/application_helper.rb
342
+ - test/dummy/app/helpers/orders_helper.rb
339
343
  - test/dummy/app/mailers/.gitkeep
340
344
  - test/dummy/app/models/.gitkeep
341
345
  - test/dummy/app/models/event.rb
342
346
  - test/dummy/app/models/event_filter.rb
343
347
  - test/dummy/app/models/event_user.rb
344
348
  - test/dummy/app/models/event_user_filter.rb
349
+ - test/dummy/app/models/merchant/order.rb
350
+ - test/dummy/app/models/merchant/order_filter.rb
351
+ - test/dummy/app/models/merchant/order_item.rb
352
+ - test/dummy/app/models/merchant/order_item_filter.rb
345
353
  - test/dummy/app/models/user.rb
346
354
  - test/dummy/app/models/user_filter.rb
347
355
  - test/dummy/app/views/advanced/event_members.html.erb
@@ -360,6 +368,9 @@ files:
360
368
  - test/dummy/app/views/kaminari/_paginator.html.erb
361
369
  - test/dummy/app/views/kaminari/_prev_page.html.erb
362
370
  - test/dummy/app/views/layouts/application.html.erb
371
+ - test/dummy/app/views/layouts/orders.html.erb
372
+ - test/dummy/app/views/orders/index.html.erb
373
+ - test/dummy/app/views/orders/items.html.erb
363
374
  - test/dummy/app/views/simple/event_members.html.erb
364
375
  - test/dummy/app/views/simple/events.html.erb
365
376
  - test/dummy/app/views/simple/users.html.erb
@@ -387,6 +398,8 @@ files:
387
398
  - test/dummy/db/migrate/20090416182137_create_users.rb
388
399
  - test/dummy/db/migrate/20090418042757_create_events.rb
389
400
  - test/dummy/db/migrate/20090418062225_create_event_users.rb
401
+ - test/dummy/db/migrate/20111001193019_create_orders.rb
402
+ - test/dummy/db/migrate/20111001193027_create_order_items.rb
390
403
  - test/dummy/db/schema.rb
391
404
  - test/dummy/lib/assets/.gitkeep
392
405
  - test/dummy/lib/tasks/dummy.rake
@@ -396,7 +409,9 @@ files:
396
409
  - test/dummy/public/500.html
397
410
  - test/dummy/public/favicon.ico
398
411
  - test/dummy/script/rails
412
+ - test/dummy/test/functional/orders_controller_test.rb
399
413
  - test/dummy/test/functional/welcome_controller_test.rb
414
+ - test/dummy/test/unit/helpers/orders_helper_test.rb
400
415
  - test/dummy/test/unit/helpers/welcome_helper_test.rb
401
416
  - test/fixtures/will_filter/filters.yml
402
417
  - test/functional/will_filter/calendar_controller_test.rb
@@ -424,12 +439,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
424
439
  - - ! '>='
425
440
  - !ruby/object:Gem::Version
426
441
  version: '0'
442
+ segments:
443
+ - 0
444
+ hash: 3372907185118611390
427
445
  required_rubygems_version: !ruby/object:Gem::Requirement
428
446
  none: false
429
447
  requirements:
430
448
  - - ! '>='
431
449
  - !ruby/object:Gem::Version
432
450
  version: '0'
451
+ segments:
452
+ - 0
453
+ hash: 3372907185118611390
433
454
  requirements: []
434
455
  rubyforge_project: will_filter
435
456
  rubygems_version: 1.6.2
@@ -448,18 +469,26 @@ test_files:
448
469
  - test/dummy/Rakefile
449
470
  - test/dummy/app/.DS_Store
450
471
  - test/dummy/app/assets/javascripts/application.js
472
+ - test/dummy/app/assets/javascripts/orders.js
451
473
  - test/dummy/app/assets/stylesheets/application.css
452
474
  - test/dummy/app/assets/stylesheets/kaminari.css
475
+ - test/dummy/app/assets/stylesheets/orders.css
453
476
  - test/dummy/app/controllers/advanced_controller.rb
454
477
  - test/dummy/app/controllers/application_controller.rb
478
+ - test/dummy/app/controllers/orders_controller.rb
455
479
  - test/dummy/app/controllers/simple_controller.rb
456
480
  - test/dummy/app/helpers/application_helper.rb
481
+ - test/dummy/app/helpers/orders_helper.rb
457
482
  - test/dummy/app/mailers/.gitkeep
458
483
  - test/dummy/app/models/.gitkeep
459
484
  - test/dummy/app/models/event.rb
460
485
  - test/dummy/app/models/event_filter.rb
461
486
  - test/dummy/app/models/event_user.rb
462
487
  - test/dummy/app/models/event_user_filter.rb
488
+ - test/dummy/app/models/merchant/order.rb
489
+ - test/dummy/app/models/merchant/order_filter.rb
490
+ - test/dummy/app/models/merchant/order_item.rb
491
+ - test/dummy/app/models/merchant/order_item_filter.rb
463
492
  - test/dummy/app/models/user.rb
464
493
  - test/dummy/app/models/user_filter.rb
465
494
  - test/dummy/app/views/advanced/event_members.html.erb
@@ -478,6 +507,9 @@ test_files:
478
507
  - test/dummy/app/views/kaminari/_paginator.html.erb
479
508
  - test/dummy/app/views/kaminari/_prev_page.html.erb
480
509
  - test/dummy/app/views/layouts/application.html.erb
510
+ - test/dummy/app/views/layouts/orders.html.erb
511
+ - test/dummy/app/views/orders/index.html.erb
512
+ - test/dummy/app/views/orders/items.html.erb
481
513
  - test/dummy/app/views/simple/event_members.html.erb
482
514
  - test/dummy/app/views/simple/events.html.erb
483
515
  - test/dummy/app/views/simple/users.html.erb
@@ -505,6 +537,8 @@ test_files:
505
537
  - test/dummy/db/migrate/20090416182137_create_users.rb
506
538
  - test/dummy/db/migrate/20090418042757_create_events.rb
507
539
  - test/dummy/db/migrate/20090418062225_create_event_users.rb
540
+ - test/dummy/db/migrate/20111001193019_create_orders.rb
541
+ - test/dummy/db/migrate/20111001193027_create_order_items.rb
508
542
  - test/dummy/db/schema.rb
509
543
  - test/dummy/lib/assets/.gitkeep
510
544
  - test/dummy/lib/tasks/dummy.rake
@@ -514,7 +548,9 @@ test_files:
514
548
  - test/dummy/public/500.html
515
549
  - test/dummy/public/favicon.ico
516
550
  - test/dummy/script/rails
551
+ - test/dummy/test/functional/orders_controller_test.rb
517
552
  - test/dummy/test/functional/welcome_controller_test.rb
553
+ - test/dummy/test/unit/helpers/orders_helper_test.rb
518
554
  - test/dummy/test/unit/helpers/welcome_helper_test.rb
519
555
  - test/fixtures/will_filter/filters.yml
520
556
  - test/functional/will_filter/calendar_controller_test.rb