Permalink
Browse files

Updated due_at to be due_on.

  • Loading branch information...
1 parent 2db433d commit 7884f2885f9d91164e618a4bc2d96a455756c65f @commondream committed Mar 8, 2011
View
@@ -31,5 +31,5 @@ gem 'sqlite3-ruby', :require => 'sqlite3'
# end
gem 'inherited_resources', '~> 1.2.1'
-gem "payday", "1.0.0beta2"
+gem "payday", "1.0.0beta3"
gem "dynamic_form"
View
@@ -45,7 +45,7 @@ GEM
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.16)
- payday (1.0.0beta1)
+ payday (1.0.0beta2)
prawn (~> 0.11.1.pre)
pdf-reader (0.9.1)
Ascii85 (>= 0.9)
@@ -86,6 +86,6 @@ PLATFORMS
DEPENDENCIES
dynamic_form
inherited_resources (~> 1.2.1)
- payday (= 1.0.0beta1)
+ payday (= 1.0.0beta2)
rails (= 3.0.3)
sqlite3-ruby
@@ -4,6 +4,6 @@
</div>
<div>
- <%= f.label :due_on %>
- <%= f.date_select :due_on %>
+ <%= f.label :due_at %>
+ <%= f.date_select :due_at %>
</div>
@@ -16,7 +16,7 @@
<td><%= link_to invoice.id, invoice %></td>
<td><%= invoice.company_name %></td>
<td><%= invoice.created_at %></td>
- <td><%= invoice.due_on %></td>
+ <td><%= invoice.due_at %></td>
<td><%= invoice.paid_at %></td>
</tr>
<% end %>
@@ -9,7 +9,7 @@
</div>
<div>
- <strong>Due On:</strong> <%= @invoice.due_on %>
+ <strong>Due On:</strong> <%= @invoice.due_at %>
</div>
<div>
@@ -1,9 +1,9 @@
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
one:
- due_on: 2011-03-07
+ due_at: 2011-03-07
paid_on: 2011-03-07
two:
- due_on: 2011-03-07
+ due_at: 2011-03-07
paid_on: 2011-03-07

0 comments on commit 7884f28

Please sign in to comment.