Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

  • Blog Navigation
Standup blog

A couple more items from last week:

  • Help: acts_as_soft_deletable doesn’t seem to work with STI. The plugin has been out for a while and it’s surprising that nobody has had a problem with this before now.

  • Q: What’s a good way to bulk insert a bunch of joined-up models? A: insert into a view. MySQL has updatable views now. This is also a great trick to use in Oracle.

  1. I’d love to see a blog post on using MySQL updatable views to bulk insert into a rails app.

  2. Mark Wilden says:

    If I read correctly, that MySQL documentation says that only one table can be updated in an updateable view. It seems to be more for restricting columns that can be viewed/updated in one table, rather than inserting “joined-up models” into multiple tables.

Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *

Share This