chuyeow's pings
Sort By:
Now that Rails 2.0 has been baked to near-perfection, I’m sure all you Rubyists with Rails applications are considering updating or have already updated your applications to be Rails 2.0-compatible. And you’ve probably already pored through the massive list of new features and changes in Rails 2.0 or seen it on Ryan Daigle’s Scraps. Ryan ...
Just go to the release announcement and major features blog post by DHH already!If you’re having trouble installing the Rails 2.0.1 gem, do a gem install rails -y --source http://gems.rubyonrails.orgNow that the obligatory link to the Rails 2.0 release announcement is done, I’d like to urge anyone with any interest in improving Rails or seeing ...
Just a quick one - seems like Rails 2.0 has been tagged for release.Expect a post on weblog.rubyonrails.com soon.
Jeanne d’Arc is a great little SRPG I’m enjoying right now - I don’t even want to start Final Fantasy Tactics until after I’ve completed Jeanne d’Arc.I have a Nintendo DS Lite as well and I have to say that I’m more of a PSP gamer where portable consoles are concerned. There just weren’t that ...
The Firefox 3 developers have been working on a visual refresh that integrates more tightly into the OS, and the Mac OS X version is looking pretty sweet. Well, public opinion varies greatly - from people who feel that it’s a rip off of Safari to those who really like the Brushed Metal look (myself ...
Firefox 3 Beta 1 is out! Check out the pretty sweet list of changes.If you want to try it, you’ll probably want to run Firefox 3 and Firefox 2 at the same time. Only this time you should remember to rename Firefox 3 so that it doesn’t override your install of Firefox 2.I’d blogged about ...
The mootools developers look like they are having fun defining their project roadmap:ootools roadmapMooTools Plugin to uninstall Internet Explorer from any machine within network range
Jeremy Kemper (aka bitsweat) committed a very useful tool into the Rails trunk not too long ago: a request profiler! It’s a human-friendly wrapper script around the ruby-prof library, a nice ruby code profiler, that lets you run multiple requests against a URI in your application and get a detailed code profile report in text ...
You wouldn’t think that Konata Izumi (a character from the anime, Lucky Star) and Ruby on Rails (a web MVC framework) would somehow be associated, but they are!I took the opportunity to fill in the missing ActiveRecord::Base#to_json documentation with examples using Konata Izumi and it got committed unchanged in revision 7905. Cute. I hope no ...
One of my favorite foodie moments from my trip to Tokyo was at Harajuku where I had a crepe with cheese cake and ice cream from Angel’s Heart (need to dig that photo out). It was THE best crepe I’ve ever had. I’d even thrown around the idea of bringing it back to Singapore as ...
The last time I wrote about ActiveRecord#to_json on edge Rails, it was missing some key functionality. For one, you couldn’t include any associations. Another thing was you couldn’t do something like this in your controller:@authors = Author.find(:all)render :json => @authors.to_json(:only => :name)Oh and did I mention it wasn’t emitting valid JSON by …
Got an email not too long ago from Working With Rails (my profile) entitled “WWR September Hackfest Winner - Congrats!”, and almost deleted it thinking it was spam. I read it in the end (after all, how often do you see spam with “Rails” in the subject title), and turns out that my recent patches ...
Now if you’re a regular user of Firefox, you’ve probably already had the opportunity to be dismayed by how you cannot copy and paste text with newlines into the search bar. All you end up with is the first line of text. I just end up typing in the search terms myself or copy and ...
Edge Rails now comes with a helper for creating form labels, so in your views, instead of doing this:<% form_for(:user, @user, :url => user_path(@user)) do |f| -%><label for=”user_login”>Login</label><%= f.text_field :login %><end>where the <label> is given a for attribute of user_login (since the …
Converting ActiveRecord instances to their JSON representation has always been a topic that has been dear to me. I’d tried to get a patch that adds to_json to ActiveRecord into Rails (but the quality of my patch was lacking in a few respects). The Jsonifier plugin that I wrote tried to address the lack of ...
Note to self:When a table column has a default value, such as for the type_category column/attribute like so:t.string :type_category, :limit => 20, :nil => false, :default => 'tv'a new instance of your ActiveRecord model will try and set the defaults from the database. Meaning:Anime.new => #<Anime id: nil, type_category: "tv"...Courtesy of this in ActiveRecord::Base:def …
This is not exactly a new change to Firefox 3’s nightly builds since the bugs have been setting in my browser tab bar for about a week but I figured I’d write about them anyway since it’s quite a nice improvement.What’s new? Download Resume - now you can pause and resume your downloads in the ...
Following my previous post on SSIDs, I saw this today when I fired up my MacBook on the bus:Some of the ones I liked from the comments are:brokenyouneedbettersecurityINTERNETS THROUGH THE AIRHave you seen any amusing SSIDs today?
The last time I blogged about Firefox’s “Open in Tabs” behavior was 3 years ago in September 2004. Open in Tabs is quite a cool bookmark feature where you can open a folder of bookmarks.Unfortunately, some of us felt that there it had a flawed implementation. Here’s how you can see it for yourself:Here, try ...
An old post I wrote on a spoof MMORPG named “Outside” was Dugg not too long ago and I was quite pleased to find that my server and the blogging software (WordPress) that I use was handling the load extremely well. Quite obviously I was getting more hits in a day than entire months:My setup ...



…