Pinned
Going to do my best to share helpful updates about how to get the most from the Claude Platform: APIs, SDKs, the ant CLI and more.
If you have any feedback about existing API features you鈥檇 love to see, I鈥檓 all ears!
Pumped to be back in a position where there鈥檚 so much I鈥檓










![# db/migrate/20220226153929_create_orders.rb
class CreateOrders < ActiveRecord::Migration[7.0]
def change
create_table :orders do |t|
t.integer :subtotal_cents
t.integer :tax_cents
t.virtual :total_cents, type: :integer, as: "subtotal_cents + tax_cents", stored: true
t.timestamps
end
end
end
# console
Order.create(subtotal_cents: 1000, tax_cents: 200)
Order.last.total_ce...](https://cdn.statically.io/img/pbs.twimg.com/media/FNGAInSVgAMi-za.jpg)
