Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
user is redirected to the return page first. modified create_by_brick…
…_and_justgiving method to correctly read the params, so brick can be marked as purchased if the donation was successful
- Loading branch information
Natalia Buckley
committed
Feb 13, 2012
1 parent
95cce06
commit 44fc2a2
Showing
6 changed files
with
23 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
class AddDonationIdToBricks < ActiveRecord::Migration | ||
def self.up | ||
add_column :bricks, :donation_id, :string | ||
end | ||
|
||
def self.down | ||
remove_column :bricks, :donation_id | ||
end | ||
end |