Last active
December 29, 2017 20:10
-
-
Save avidas/b959991f0a4db979548cc542c95cb2e4 to your computer and use it in GitHub Desktop.
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
begin | |
TenantService.switch_to_rest_of_world_tenant | |
account = Account.find_by_short_code '1VHUN0' | |
pr = account.primary_reservations.active.find_by(description: '03-01') | |
pr.update_attributes(price: 23400.0) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nitpick: I'd prefer
(price: 23_400.0)
, but good to go as-is 👍