forked from austinonrails/members
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
59 lines (44 loc) · 1.73 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
(in /Users/zubin/work/aor)
--> component
Clean! Cheers for you!
--> @session
Clean! Cheers for you!
--> paginate
!! The default paginator is slow. Writing your own may be faster !!
...................................................................
controllers/members_controller.rb:11: @member_pages, @members = paginate :members, :per_page => 10, :order => "created_at DESC"
controllers/members_controller.rb:54: @member_pages, @members = paginate :members, :conditions => ["occupation_id = ?", params[:id]], :per_page => 10
--> find_first
Clean! Cheers for you!
--> @request
Clean! Cheers for you!
--> find_all
!! Use find(:all) instead !!
............................
views/members/_form.rhtml:30:<%= select("member", "occupation_id", Occupation.find_all.collect {|o| [ o.name, o.id ] }, { :include_blank => true }) %>
--> @flash
Clean! Cheers for you!
--> render_partial
Clean! Cheers for you!
--> @env
Clean! Cheers for you!
--> :post => true
Clean! Cheers for you!
--> end_form_tag
!! Use form_for instead !!
..........................
views/members/edit.rhtml:9:<%= end_form_tag %>
views/members/login.rhtml:12:</div><%= end_form_tag %>
views/members/new.rhtml:11:<%= end_form_tag %>
--> start_form_tag
!! Use form_for instead !!
..........................
views/members/edit.rhtml:5:<%= start_form_tag({ :action => 'update', :id => @member }, { :multipart => true }) %>
views/members/login.rhtml:6:<%= start_form_tag :action => "login" %><div class="form-block">
views/members/new.rhtml:7:<%= start_form_tag({ :action => 'create' }, { :multipart => true }) %>
--> @params
Clean! Cheers for you!
Loaded suite /usr/bin/rake
Started
Finished in 0.000164 seconds.
0 tests, 0 assertions, 0 failures, 0 errors