Rails, Firefox, Anime, Mac – Still working on the blog theme!
In: Edge Rails| Open Source| Ruby| Ruby on Rails
25 May 2008No mind-blowing changes in Rails this week prior to RailsConf – as Gregg mentioned last week in the Rails Envy podcast, it’s pre-2.1 days (Rails 2.1 will probably be released at RailsConf) so it’s pretty easy to see why. Oh and all Rails tests now pass in Ruby 1.9 after a long-standing #module_eval bug got [...]
In: Asides| Edge Rails| Ruby| Ruby on Rails
18 May 2008Juan Lupión wrote in to inform me that he’s also translating my Living on the Edge (of Rails) series of blog posts to Español. Thanks Juan!
In: Edge Rails| Open Source| Ruby| Ruby on Rails
18 May 2008It’s another slow week (just 2 changes of note imho) after the release of the 1st Release Candidate (RC1) of Rails 2.1. Follow that link for installation instructions – though if you’re reading this blog post you probably don’t care! (because you’re, you know, “living on the edge”). Cheesiness aside, be sure to report any [...]
In: Edge Rails| General
11 May 2008This week’s report covers changes from 5th May 2008 to 11th May 2008 (the day the corresponding Rails Envy podcast was recorded).
script/dbconsole
A script/dbconsole script has been added that allows you to connect to your database using its console client.
If you needed to connect to your production MySQL database (you better know what you are doing!), [...]
In: Edge Rails| Open Source| Ruby| Ruby on Rails
4 May 2008This week’s report covers changes from 29 April 2008 to 4th May 2008 (the day the corresponding Rails Envy podcast was recorded).
change_table for ActiveRecord migrations
Thanks to Jeff Dean, who also blogged about the new change_table feature in ActiveRecord migrations, you can now change a table with a block like so:
change_table :videos do |t|
t.add_timestamps
[...]
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque sed felis. Aliquam sit amet felis. Mauris semper, velit semper laoreet dictum, quam diam dictum urna, nec placerat elit nisl in quam. Etiam augue pede, molestie eget, rhoncus at, convallis ut, eros. Aliquam pharetra.