21 Jun '12, 3am

@0s_and_1s check this: - it's about Rails but applies to other languages/framework,s controller usually delegate work

Excellent write-up in helping beginners understand the principles of Rails. Keep’m coming! As Christoffer said, pseudo_id could be a helper, I think it fits fine in the model. I’m sometimes unsure whether to put little functions like that as part of the model or as a helper. Personally, I think helpers are better for things that are used beyond one particular model. However, I do find myself wondering whether I should put a helper that applies to a particular controller only in the controller file itself or in the helper file tied to the controller. I sometimes wonder whether the controller-specific helper files aren’t redundant, and that those helpers which are controller-specific should go in the controller, with those that are global in the application_helper file. Then you don’t have to look in both the controller and its helper file for stuff. (Same for models.)

Full article: http://weblog.jamisbuck.org/2006/10/18/skinny-controller-...

Tweets

@WiseMindStudios Try rails's force_ssl method. ...

api.rubyonrails.org 27 Jun '12, 2am

Force the request to this particular controller or specified actions to be under HTTPS protocol. Note that this method wil...

Last wk, I was told told I look "huge. Here is ...

priorfatgirl.com 21 Jun '12, 2pm

Jen, I think this is one of my very favorite posts of yours. I started following your blog at the start of my own journey ...

New post: Fixing a PS3 Controller that Won't Charge

New post: Fixing a PS3 Controller that Won't Ch...

electronics-lab.com 23 Jun '12, 4pm

Recently I found a cheap used PS3 at a local Game and Trade that was closing its doors. It’s the older “fat” 80GB model. E...