Double Shot #936

An actual empty day on my calendar. Amazing.

What's New in Edge Rails #33

Week of August 6 - August 12, 2012

Not a hugely busy week, though there's plenty of tinkering going on inside things like routing and associations still.

  • DHH stepped in at fb883318 to revert the generation of humans.txt when making new applications. He may not make a lot of commits these days but his opinions are still important.
  • 2a290f7f introduces a default_headers config option, making it easy to apply HTTP headers to every response your application generates.

Double Shot #934

Another week, another few links.

Double Shot #933

Time for a bit of work, and then off to the Boy Scout camp for the weekend. NRA Handgun Instructor training this time.

Double Shot #932

Back to the grindstone. Actually, I think it's following me around.

What's New in Edge Rails #32

Week of July 30 - August 5, 2012

The most sweeping change this week was actually on the 3.2 branch, where a bunch of deprecations were undone, in line with a new policy of not deprecating APIs in point releases.

  • The column updating saga continues. 4ac81de5 removes the deprecation of update_column, so both it and update_columns will be supported in 4.0.
  • 92641ef reverses the behavior of multiple calls to .order(). Now .order("first_name ASC").order("last_name ASC") will generate ORDER BY last_name ASC, first_name ASC.
  • 7db0b073 makes the inflector locale-aware and multilingual. Now you can define separate pluralization rules for separate locales.
  • 437851e adds Relation#load to force eager loading of records.
  • Documentation for the new association API is available in 6fe11965.

Double Shot #930

Double Shot #929

And that's another week in the box. Hand me the nails.

Double Shot #928

First Cub Scout meeting of the new school year tonight, yay.

Double Shot #926

It's amazing how quickly a calendar can fill up.

  • Cheddar for iOS is Now Open Source - Just in case you'd like to see some real-world sample code, and perhaps fix a few bugs.
  • Prism - New lightweight code highlighter in JavaScript with a plugin architecture.
  • And then the music stopped - Ruminations on the current "this time it's different" nonsense. Get a real job if you don't have one already. With, you know, a company that has a sustainable revenue stream.
  • SideTap - Framework for platform independent mobile web interfaces.
  • Master Space and Time with JavaScript FAQ - Noel Rappin taks about his new ebook, which works with jQuery and Backbone (and others) in a test-first manner.
  • Is It Live? - In-depth look at the streaming functionality that just landed in Rails 4.0.

What's New in Edge Rails #31

Week of July 23 - July 29, 2012

Biggest change this week is probably the introduction of ActionController::Live, but there are lots of little advances as well.

  • 449039a8 swaps out ActionDispatch::Head in favor of Rack::Head.
  • Don't get too used to update_column, which is the 3.2.x replacement for update_attribute. In 87ffc366 it gets replaced by update_columns.
  • With 6a81ccd6 ActiveRecord::Base.all returns a Relation instead of an Array. Finally.
  • 99ea1a87 changes the behavior of Object#try to return nil if the receiving object doesn't implement the method. You can use Object#try! if you want the old behavior.
  • ActionController::Live allows any method to stream data to the client live. 0899be57 has the changelog entry.

Double Shot #925

Had a fine couple of days off. Now back to the ones and zeros.

Double Shot #924

Time to wrap this week up and get on with life.

Double Shot #923

Having my schedule disrupted makes me grumpy. A personal failing, I'm sure.

Double Shot #922

Elder daughter wants to learn paleontology next. This should be interesting.

  • php.js - Run PHP code in JavaScript. Errrrr….
  • PostgresExt - ActiveRecord support for missing PostgreSQL data types, without having to move to Rails 4.
  • Betakit - Boilerplate code to run a beta release with invitation codes, referral tracking, admin UI and more.
  • Rack::CoreData - Automate the creation of a REST API from Core Data models.
  • Markupwand - "Magically convert your photoshop files to HTML & CSS."
  • Droplings - Turn any file on your computer into a branded download page hosted on Dropbox.

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.

Double Shot #921

A pool full of swimming Cub Scouts is loud.

subscribe via RSS