A Fresh Cup is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the universe of software. I'm a full-time software developer: most of my time in recent years has been spent writing Rails, though I've dabbled in many other things and like most people who have been writing code for decades I can learn new stuff as needed.

Currently I'm unemployed and starting to look around for my next opportunity as a senior manager, team lead, or lead developer. Drop me a comment if you're interested or email MikeG1 [at] larkfarm.com.

« Double Shot #921 | Main | Double Shot #920 »

What's New in Edge Rails #30

Week of July 16 - July 22, 2012

Big changes to associations internals landed this week, along with various other odds and ends.

  • There's now a migrator specifically for join tables, keyed on the migration name: rails g migration create_clients_join_table doctors patients., as of 211d88b7.
  • More tidying on the JavaScript front: fb8a830a removes :confirm in favor of :data => { :confirm => 'Are you sure?' } in various tag helpers.
  • e1cfa6e0 shows off the new association macro syntax, with declarations like has_many :popular_grouped_posts, -> { includes(:comments).group("type").having("SUM(comments_count) > 1").select("type") }, :class_name => "Post"
  • 3803fcce drops support for the :finder_sql, :counter_sql, :insert_sql, and :delete_sql in declaring associations.

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.
Author Email (optional):
Author URL (optional):
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>