If you're upgrading from previous versions, you must add the following to
your app/views/layouts/application.html.erb
before the closing of the <head>
tag or your credit card form will no longer work:
<%= yield :koudoku %>
If you have a Haml layout file, it is:
= yield :koudoku
Adding support for non-monthly plans. The default is still monthly. To
accommodate this, a interval
attribute has been added to the Plan
class.
To upgrade earlier installations, you can run the following commands:
$ rails g migration add_interval_to_plan interval:string
$ rake db:migrate
You'll also need to make this attribute mass-assignable:
class Plan < ActiveRecord::Base
include Koudoku::Plan
attr_accessible :interval
end