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.

As of October 2016, I'm not actively looking for my next job, but I'm still happy to chat about potential opportunities. I'm not able to relocate, so unless you're in the Evansville area, I'd need a completely remote gig. I have lots of experience working remote. Prefer full-time but I wouldn't be averse to an interesting contact gig. Drop me a comment if you've got something or email MikeG1 [at] larkfarm.com.

Navigation
« Double Shot #921 | Main | Double Shot #920 »
Tuesday
Jul242012

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):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>