drbrain | Fri, 16 Mar 2012 23:19:07 GMT Posted in Ruby In Ruby 1.9, Enumerable has a few new methods including Enumerable#chunk (which was added for 1.9.2). The #chunk method walks your Enumerable and divides it into chunks based on a selecting block. Unlike Enumerable#partition, the ...
March 16, 2012 Tagged: open source changelog Comments (View) This week in open source factory_girl Version 2.6.4 of factory_girl is out (b7f3789 ), with a bug fix from Ian Duggan (ijcd ) such that you can use the name of a transient attribute when setting other attributes (0d7520e ), ...
Manages persistent connections using Net::HTTP plus a speed fix for Ruby 1.8. It's thread-safe too! Using persistent HTTP connections can dramatically increase the speed of HTTP. Creating a new HTTP connection for every request involves an extra TCP round-trip and causes TCP congestio...
As hackers, we’re familiar with the need to scale web servers, databases, and other software systems. An equally important challenge in a growing business is scaling your development team. Most technology companies hit a wall with dev team scalability somewhere around ten developers. ...
March 13th, 2012 Compass 0.12 gets a speed boost as the Rocket Pants come out, we look at barebones models in Rails 4.0 with ActionPack, configuration with Constellation, faster docs contributions with docrails, and swift Ruby snippets sharing with RubyFiddle. March 9th, 2012 Closing ...
March 16, 2012 Tagged: copycopter crowdtap iora health new life open source spring has sprung i18n internationalization localization Comments (View) Copycopter is now open source One month ago, we informed Copycopter customers that we would be shutting the service down on April 15th a...
Padrino Web Framework 0.10.6: ActiveSupport 3.2, Improved Logger, HTML5 Helpers and bug fixes Posted by nesquena on March 16, 2012 — 0 comments The Padrino team just released 0.10.6 stable which includes ActiveRecord 3.2 support, MiniRecord support, Logging upgrades, performance impro...
official release of ActiveSupport 3.2 , several contributions to our codebase and some useful bug fixes, we figured the time had come for a new release. Today, we are announcing the release of Padrino 0.10.6 with ActiveSupport 3.2 compatibility, MiniRecord generator support, HTML5 Hel...
September 16, 2009 Comments (View) Five Ridiculously Awesome Cucumber (and Webrat) Features Cucumber , if you haven’t heard, is the Next Big Thing™. It affords developers the ability to write human-readable integration tests. Even though it’s only at version 0.3.101, it’s full-feature...
David, I agree it's heading there, but mostly the current rich client apps talk to custom web services. That is, you have to write code for both the client and the server. I expect there will be some standardization that lets the client code have all the custom logic. Think of a clien...
Too lazy to read this post, but want to snag the discount? Grab Rails AntiPatterns here using the 35% off discount code ANTIPATTERNS . Enter the all caps code at checkout. It’s good for the ebook, epub, or print book. Enjoy! Ruby. For a developer, the very word describes a world where...
This library can take a piece of English text as a string and swap masculine words for feminine and vice-versa.
November 23, 2009 Tagged: testing factory girl fakes callbacks Comments (View) Ain’t no calla back girl Factory Girl now has callbacks thanks to Nate Sutton (a.k.a. fowlduck). There are three callbacks respectively called after Factory methods you already know: after_build Factory.bui...
Rails 3.2.2 has been released. This release contains various bug fixes and two important security fixes. All users are recommended to upgrade as soon as possible. CHANGES For information regarding the possible vulnerabilities, please see the announcements here and here . Some highligh...
# Use the generator to make a transmogrifier plugin ./script/generate plugin transmogrifier create vendor/plugins/transmogrifier/lib create vendor/plugins/transmogrifier/tasks create vendor/plugins/transmogrifier/test create vendor/plugins/transmogrifier/README create vendor/plugins/t...
Split testing allows you to experiment with different designs and track conversions to determine which one is the most effective. Learn how to do A/B testing using Split in this episode.
class Comment < ActiveRecord::Base belongs_to :commentable, :polymorphic => true end class Article < ActiveRecord::Base has_many :comments, :as => :commentable end class Photo < ActiveRecord::Base has_many :comments, :as => :commentable #... end class Event < ActiveRecord::Base has_ma...
Objects on Rails now available to read online Posted by avdi on March 15, 2012 — 0 comments "Objects on Rails", a developer notebook exploring ideas and techniques for applying classic OO thinking to Rails projects, is now available free to read online . Comments Post a Comment Co...
Just got this tasty love letter from one of my raving fans in Paris, France: From: Andrei Bodnarescu <[email protected]> To: obie Dear Sir, My name is Abo Moldova and I just wanted to tell you that you're one of the biggest fuck ups I've ever seen in my life. If I met you in real ...
pacer-neo4j 1.0.7.1-java Neo4J jars and related code for Pacer install gem install pacer-neo4j Download Documentation Subscribe Stats Authors Darrick Wiebe 1,115 total downloads 5 for this version Owners Links Homepage Bundler gem "pacer-neo4j", "~> 1.0.7.1" Versions 1.0.7.1 March 15,...
Github.js — Write files to Github right from the browser. Posted by mql on March 15, 2012 — 2 comments I just pushed Version 0.1.2 of Github.js , a higher-level wrapper around the Github API. Intended for the browser. Comments Although a cool library I'm trying to figure out why t...
MountainWest RubyConf 2012 Live Stream Go to the MWRC 2012 Homepage Hacker News Reddit
Thursday, March 15, 2012 at 5:39AM Early morning treadmill and sun lamp keep me mildly sane. Sparrow for iPhone - If I actually had an iPhone this would be the mail client for me. Nodester - "an open source Node.JS Platform-as-a-Service written in Node.JS with a RESTful API designed t...
is a connection between two Active Record models. Associations are implemented using macro-style calls, so that you can declaratively add features to your models. For example, by declaring that one model belongs_to another, you instruct Rails to maintain Primary Key–Foreign Key inform...
. It’s a community maintained vim configuration project that in theory sounds nice, but once you start using it it’s not all rainbows. The current version of Janus installs harmful plugins such as Syntastic and adds tons of opinionated mappings and piles of hacks on top of one another...
Working With Rails - sponsored and created by DSC Disclaimer: This is a publicly accessible database. The views and opinions of originators and contributors expressed on this site do not necessarily state or reflect those of DSC Limited. No representation or warranty is given as regar...
Compass 0.12 gets a speed boost as the Rocket Pants come out, we look at barebones models in Rails 4.0 with ActionPack, configuration with Constellation, faster docs contributions with docrails, and swift Ruby snippets sharing with RubyFiddle.
Build it yourself with one of our easy sitebuilders! Reliable website hosting keeps your site up and running. Let our Web pros build your website, logo and more.
#333 Extending Refinery CMS Mar 14, 2012 | 14 minutes | Plugins , Views Here I continue on Refinery and show how to add database-backed content by generating an engine. You will also learn how to override Refinery's views and controllers in this episode. Subscribe to Watch Episode Twe...
If you need to quickly create an informational site that can be easily edited, consider using a content management system. Here I show how to build a site using Refinery CMS.