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’d love to see, I’m all ears!
Pumped to be back in a position where there’s so much I’m










![# 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...](/web/20150905192538/https://developer.android.com/samples/ActionBarCompat-https-pbs.twimg.com/media/FNGAInSVgAMi-za.jpg)
