Piku Shared item: 59 items
View Google Reader Shared items
1 shares
Random Rails Tidbits
via techno weenie - Home by rick on January 21, 2008
With ActiveSupport::Callbacks being extracted out of ActiveRecord and ActiveSupport::Validations on the way, it looks like Josh and lifo both did a large chunk of the work I was going to do for ActiveModel.Apparently the
Shared by: Piku,
[ Back to top]
1 shares
Episode 89: Page Caching
via Railscasts by Ryan Bates on January 21, 2008
Page caching is an efficient way to cache stateless content. In this episode I will show you how to cache the dynamic javascript we created last week.
Shared by: Piku,
[ Back to top]
1 shares
Ruby Screenshot of the Week #27: Task List
via Tor Norbye's Weblog by Tor Norbye on January 19, 2008
I've posted a number of blog entries showing NetBeans quickfixes for Ruby. This helps you detect problems in code you happen to be working on, since it shows a yellow rather than green file status if there are warnings in the file. (The file status is shown on the right hand side of the editor pane, next to the vertical scrollbar).Unfortunately, this doesn't give you
Shared by: Piku,
[ Back to top]
1 shares
Merb Routing in 0.5
via tech on toolmantim.com by (author unknown) on January 22, 2008
Merb’s routing shiznits needs some serious documentation love. Whilst I have a shot at getting some proper docpatches together here’s an overview of how to use routing in Merb 0.5.Path MatchingThe match methoddefines how to route requests to controllers and actions.r.match("/contact"). to(:contro
Shared by: Piku,
[ Back to top]
1 shares
The jSkinny on jQuery
via err.the_blog by Chris on January 07, 2008
j-j-j-jQuery. It’s on everyone’s lips, right? You love it or you hate it, or you’ve never tried it but you love it, or you’ve never tried it but you super-hate it. Yeah, we know.Well, PJ and I launched FamSpam a bit ago and made the bold move of powering all the jabbascript with jQuery. We even wrote our own Fa
Shared by: Piku,
[ Back to top]
1 shares
Feeds for Free
via err.the_blog by Chris on January 23, 2008
And money for nothing. Or something like that? Sorry, Mark Knopfler. I’ll pay more attention next time.Anyways, let us be painfully aware that we can get Atom feeds for free. Not as in beer or speech, but as in ‘zero lines of code.’ How? Microformats.You and meFormatsAlmost a year has past since we last spoke of microformats, and way more than a year since our first encounter. Seems...
Shared by: Piku,
[ Back to top]
1 shares
What's New in Edge Rails: Easier Timezones
via Ryan's Scraps - Blog by ryan on January 25, 2008
The days of forcing time-zone support into your Rails apps with not one, but two plugins are over. It would appear that Rails now has its own way of dealing with timezones via a custom implementation (though it’s still based on the tzinfo gem).Here’s the deal. You can now create an ActiveSupport::TimeWithZone from an instance of a UTC-based Time and then switch between time-zones at...
Shared by: Piku,
[ Back to top]
1 shares
Self-referential has_many :through associations
via has_many :through by Josh Susser on October 31, 2007
This article updates a previous version for the Rails 2.0 way of things. Since there's not much difference, I decided to fix up the example code to be more understandable. After all, not everyone is a discrete math geek.This example updates the one from the previous article. The only significant difference is that you don't need to specify the :foreign_key when using the :class_name...
Shared by: Piku,
[ Back to top]
1 shares
Rails and penis enhancements
via redemption in a blog by Chu Yeow on January 25, 2008
Funniest bug report I’ve seen on the Rails issue tracker: http://dev.rubyonrails.org/ticket/10919. Be sure to read the comments, and the resolution:I appreciate that penis enhancements are the norm for most of the commenters here, but their use is definitely not widespread enough to justify fixing this.
Shared by: Piku,
[ Back to top]
1 shares
Rails TakeFive: Five Questions with Peter Cooper
via FiveRuns Blog - Home by dean on January 25, 2008
Welcome to Round 3 of Rails TakeFive, FiveRuns’ ongoing series of insight and commentary from notable members of the Ruby and Rails community.This week, we’re happy to have Peter Cooper, editor of the popular Ruby news blog Ruby Inside, share his views on Ruby and Rails.FiveRuns: Welcome, Peter. What was your first experience with Ruby and/or Rails and how did it come about?Peter Cooper: I...
Shared by: Piku,
[ Back to top]