stephenchu.com
STEPHEN CHU . com: Go to Ruby ! and ? method definition with TextMate CTags
http://www.stephenchu.com/2008/09/go-to-ruby-and-method-definition-with.html
STEPHEN CHU . com. My thoughts on software development, open source, agile methodology, technology, and stuff that matters. Friday, September 26, 2008. Method definition with TextMate CTags. If you are not yet using the TextMate CTags bundle. In your Ruby/Rails development, you are missing out big time. This bundle allows you to go to a method definition as easy as pointing your cursor at the method and hit a keyboard shortcut. It has served me well and I highly recommend it. And change Word Characters.
stephenchu.com
STEPHEN CHU . com: December 2008
http://www.stephenchu.com/2008_12_01_archive.html
STEPHEN CHU . com. My thoughts on software development, open source, agile methodology, technology, and stuff that matters. Monday, December 01, 2008. Speed up your MySQL data load. Perhaps you have some large datasets you would like to load into MySQL, such as a big text file generated from. That contains many sql INSERT statements. You can obviously populate your empty database by redirecting the content of this file into the. Command line like such:. Mysql -u root -p your database. Bulk insert buffer ...
stephenchu.com
STEPHEN CHU . com: params[:fu] #5 ) Update multiple models in update action atomically.
http://www.stephenchu.com/2008/03/paramsfu-5-update-multiple-models-in.html
STEPHEN CHU . com. My thoughts on software development, open source, agile methodology, technology, and stuff that matters. Thursday, March 27, 2008. Params[:fu] #5 ) Update multiple models in. Updating multiple models is hard? It sounds complicated, but with Rails it actually isn't, if you know how to take advantage of it. Knowing what you know about Rails params, let's take a look at today's topic: the. Ftext field :name %. Subscription 4 magazine id. Option value=102 IT Pro. Action" = "create",. Metho...
stephenchu.com
STEPHEN CHU . com: Launching apps in command line (Mac)
http://www.stephenchu.com/2008/06/launching-apps-in-command-line-mac.html
STEPHEN CHU . com. My thoughts on software development, open source, agile methodology, technology, and stuff that matters. Monday, June 09, 2008. Launching apps in command line (Mac). In most cases, to launch an application on a Mac is just a matter of using the awesome QuickSilver keyboard shortcut and type in what you want to open. But, sometimes it is useful to be able to launch/open an application in command line or terminal in a scripting context. So, instead of going through all the typing.
spurton.blogspot.com
Smoke Signals: March 2005
http://spurton.blogspot.com/2005_03_01_archive.html
Wednesday, March 30, 2005. Thinking about created a rails recipes site. I think it would be cool to start a rails recipes site kind of like ZopeLabs. But for rails. I remember when learning Zope I used that place a lot and posted a lot of cool things I found. If I could find a good host (maybe my workplace) I would do it. Posted by spillburt at 12:37 PM. Tuesday, March 29, 2005. Posted by spillburt at 1:31 PM. Thursday, March 24, 2005. Posted by spillburt at 11:46 AM. Wednesday, March 23, 2005. Ok, when ...
spurton.blogspot.com
Smoke Signals: June 2005
http://spurton.blogspot.com/2005_06_01_archive.html
Monday, June 27, 2005. I started a blog for SimilarThings. Appropriately the url is Blog.SimilarThings.com. So anyone who tries to grab that name, it's gone sorry :) This is where I will write about things I am working on and what is happening. Once the Mailing list. Gets active I will post what has been going on there too. Posted by spillburt at 8:36 AM. Wednesday, June 22, 2005. Odeo, another sweet Rails-driven app. I have the pleasure of trying out Odeo. Posted by spillburt at 10:21 AM. This is so rel...
spurton.blogspot.com
Smoke Signals: January 2005
http://spurton.blogspot.com/2005_01_01_archive.html
Thursday, January 06, 2005. OK, pings are cool mostly because of their alpha effects. But IE doesn't support them. Well, here is a hack using css and some other voodoo. First thing: Create an IE style append-er in your header -! If IE] link rel=stylesheet type=text/css media=screen href=css/ie.css /! That little snippet will check to see if you are using IE and load an alternative stylesheet in addition to the stylesheet that is being used already. Posted by spillburt at 1:30 PM. View my complete profile.
stephenchu.com
STEPHEN CHU . com: June 2006
http://www.stephenchu.com/2006_06_01_archive.html
STEPHEN CHU . com. My thoughts on software development, open source, agile methodology, technology, and stuff that matters. Thursday, June 22, 2006. How to use GMail SMTP server to send emails in Rails ActionMailer. Recently I had to use Ruby to send emails. I don't want to go through the hassle of setting up a mail server on my build box, and since I use GMail's hosted webmail service I am thinking I might be able to use their smtp mail server to do it. But we developers just obviously love options =).
stephenchu.com
STEPHEN CHU . com: Rails composed_of validation
http://www.stephenchu.com/2008/05/rails-composedof-validation.html
STEPHEN CHU . com. My thoughts on software development, open source, agile methodology, technology, and stuff that matters. Wednesday, May 21, 2008. Rails composed of validation. ActiveRecord allows you to declaratively write validations (e.g. Models. In addition, the errors will be stored in the. Collection and be used by various view helpers and methods like. Wrapping a nice error CSS around the offending html form elements. But when you have a normal domain model object that is non-. As of Rails 2....