Displaying 2 results from an estimated 2 matches for "next_renewal_at".
2009 Mar 19
6
[Cucumber 0.2] Failure to use should
...a step definition like this:
Then "the account should be created" do
account = Account.find_by_name("my shiny new account")
p account.class
account.should_not be_blank
end
When running this step, I got the error message:
Account(id: integer, name: string, state: string, next_renewal_at: date,
created_at: datetime, updated_at: datetime, full_domain: string, deleted_at:
datetime, subscription_discount_id: integer, subscription_plan_id: integer)
And the account should be created #
features/step_definitions/create_account_steps.rb:31
undefined method `be_blank...
2009 Apr 10
0
MySql Memory Error
...d>
<td><%= number_to_currency(subscription.amount) %> <%= "(#
{subscription.discount.name})" if subscription.discount %></td>
<td><%= subscription.created_at.strftime("%d %B %Y") %></td>
<td><%= subscription.next_renewal_at.strftime("%d %B %Y") %></
td>
<td><%= subscription.state %></td>
</tr>
<% end %>
</table>
<%= will_paginate(@subscriptions) %>
ERROR
ActiveRecord::StatementInvalid (Mysql::Error: Out of memory (Needed
2096048 bytes):
How...