Piku Shared item: 67 items
View Google Reader Shared items
1 shares
Ruby gets a Reddit
via YARB - Home by admin on January 26, 2008
Reddit and programming.reddit.com are two of my favorite social news sites.Now, courtesy of James Golick – they just opened ruby.reddit.com – sweet!
Shared by: Piku,
[ Back to top]
1 shares
Episode 90: Fragment Caching
via Railscasts by Ryan Bates on January 27, 2008
Sometimes you only want to cache a section of a page instead of the entire page. Fragment caching is the answer as shown in this episode.
Shared by: Piku,
[ Back to top]
1 shares
ActiveMerchant PDF
via PeepCode Products by (author unknown) on January 28, 2008
by Cody Fauser, ActiveMerchant committer and Shopify developer.Most online businesses need to receive payment. If you’re developing with Ruby, the standard for credit card authorization and capture is ActiveMerchant.ActiveMerchant provides a consistent interface to over 30 gateways all around the world and has processed millions of dollars of transactions since 2006. This 70 page book starts...
Shared by: Piku,
[ Back to top]
1 shares
Adapting Ambitiously
via err.the_blog by Chris on January 28, 2008
It’s funny, really. All these people walking around, talking about Ambition. “Oh, Ambition? Yeah, pretty cool.” “Ambition? Impedance mismatch.” “I’m happy with SQL-92 the way it is, thank you very much.” Outrageous!I know, I know. We’ve said some crazy things ourselves. Like how we wanted Ambition to be a Rack for databases. Or, far fetched as it sounds, how we hoped...
Shared by: Piku,
[ Back to top]
1 shares
Different validations for the same ActiveRecord model
via tech on toolmantim.com by (author unknown) on January 28, 2008
... to store a global “current user” from a controller’s before/around filter which you’d then check when performing validations. I don’t particularly like this approach for the simple problem at hand because it pushes the request/response state into the model and makes the interaction between model objects less explicit.My preferred method would be to simply have the creator of the User...
Shared by: Piku,
[ Back to top]
1 shares
Interesting Rails Tidbits #3
via Ruby Inside by Peter Cooper on January 29, 2008
Ext JS Powered Administration System Generator for Rails 2.0Davide D’Agostino writes in with news about Lipsiadmin, his Ext JS powered administration system generator for Rails 2.0. Ext JS is an interesting JavaScript framework that lets you quickly put together AJAX-powered Web pages that look and feel somewhat like Windows applications. Lipsiadmin takes this attribute of Ext JS and builds...
Shared by: Piku,
[ Back to top]
1 shares
Living on the edge (of Rails) #5 - better eager loading and more
via redemption in a blog by Chu Yeow on January 29, 2008
Another week of edge Rails changes, featured on the Rails Envy podcast. This weeks’ report covers changes from 21 Jan 2008 to 27 Jan 2008 (the day the Rails Envy podcast was recorded).Eager loading :includes does pre-loadingThe current gem Rails behavior when loading associations with something likeAuthor.find(:all, :include => [:posts, :comments])is to make a big query with multiple joins that...
Shared by: Piku,
[ Back to top]
1 shares
South Bay Ruby Meetup Trip Report
via Miles to go ... by arungupta on January 30, 2008
As mentionedearlier, I presented on "Rails powered by GlassFish & jMaki" atSouth Bay Ruby Meetup yesterday. The slides are availablehere.The demos showed in the talk are listed below: screencast #web9 - Create standalone and shared WARs that can be deployed on GlassFish GlassFish v3 gem - Create a simple Rails app and run it using GlassFish gem instead of WEBrick or Mongrel screencast #web8 -...
Shared by: Piku,
[ Back to top]
1 shares
Segregated page cache storage
via has_many :through by Josh Susser on January 30, 2008
Page-caching is one of the highest leverage features in Rails. It doesn't take much to set up, and the payoff is huge. When building Teldra I knew from the start that page caching would be part of my production deployment, as it should be for any site with pages where content changes infrequently relative to number of views.The only thing I find annoying about using the page caching feature...
Shared by: Piku,
[ Back to top]
1 shares
Merb: Multiple CSS files, one server request.
via Just In Time by Justin Pease on January 17, 2008
... side of things.I was happy to see that Merb also allows us to follow Souder's #1 Rule for making the client side snappy too. So how does Merb allow us to make fewer HTTP requests? By dynamically combining multiple stylesheet or script files into one.Let's see some code!It's this simple:# app/views/layout/application.html.erb<% require_css :reset %><% require_css :master %><%= i...
Shared by: Piku,
[ Back to top]