Rails is a web application development framework written in the Ruby language. It is designed to make programming web applications easier by making assumptions about what every developer needs to get started. It allows you to write less code while accomplishing more than many other la...
April 11, 2012 Tagged: patterns refactoring null object Comments (View) Rails Refactoring Example: Introduce Null Object You probably don’t write code like this: if object.kind_of?(User) do_this else object.do_that end Why not? Because Ruby encourages duck typing and polymorphism. A h...
We’re proud to introduce a brand new feature to Pivotal Tracker: EPICS. Epics are a powerful management tool providing teams with big picture detail. It sounds like an oxymoron, but that’s what Epics offer, the ability to zoom out and zoom in at the same time. Now you can group dozens...
Wednesday, April 11, 2012 at 5:44AM If the price of civilization is paperwork, it's not clear we're getting a good deal. Meteor - Another pure-JavaScript web framework. Greenfield - Ruby web application skeleton that lashes together sinatra, sprockets, compass, and a few other things....
Get Rid of That Code Smell - Control Couple Posted by solnic on April 11, 2012 — 1 comment If you want to learn about Control Couple code smell check out my next blog post from the Get Rid of That Code Smell series. Comments hi How are you! hope you are fine and in perfect conditi...
Extracting Names and Email Addresses from a String Posted by zadasnotes on April 11, 2012 — 0 comments An algorithm that extracts (sometimes guesses) names and emails from a comma separated list of email addresses. Comments Post a Comment Comment abilities for non registered users...
On a positive note: I’m starting a positive newsletter. I love surfing Twitter, checking Facebook, and hanging out on Reddit/Hacker News/etc. as much as the next person, but I’ve got to be honest: you guys can kind of be douchebags. Pair that with the constant cycle of terrible news b...
An interactive tutorial that lets you try out Ruby right in your browser. This 15-minute tutorial is aimed at beginners who want to get a feeling of the language. Ruby Koans The Koans walk you along the path to enlightenment in order to learn Ruby. The goal is to learn the Ruby langua...
Load mysqldump CSVs into Ruby FasterCSV Posted by paydro on April 11, 2012 — 0 comments I just wrote about loading mysqldump csvs into FasterCSV - not as easy as I thought due to mysqldump quirks. Comments Post a Comment Comment abilities for non registered users are currently dea...
FCC Content API Posted by adelevie on April 11, 2012 — 0 comments I just released fcc-content-api , a gem that makes it easy to access much of the content on FCC.gov . Under the hood, it uses the excellent Weary gem for HTTP requests. If anybody would like to lend a helping hand, I'm ...
Database constraints and/or stored procedures make the validation mechanisms database-dependent and can make testing and maintenance more difficult. However, if your database is used by other applications, it may be a good idea to use some constraints at the database level. Additional...
A little over a year ago, I got my first serious glimpse at SproutCore, the JavaScript framework Apple used to build MobileMe (now iCloud). At the time, I had worked extensively with jQuery and Rails on client-side projects, and I had never found the arguments for the “solutions for b...
Implementing Ruby is a lot of hard work. The Rubinius project has been lucky to have more than 240 contributors , many with hundreds of commits, including code, benchmarks, documentation, translations, and more. Lately, we have seen a surge of new folks working hard on 1.9 language fe...
Capistrano Detect Migrations lets you detect pending Rails migrations before you deploy to any remote hosts. It leverages Git tagging to determine changes that have happened since the last deployment. At deployment time you can choose to continue to deploy or not after being presented...
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...
Database constraints and/or stored procedures make the validation mechanisms database-dependent and can make testing and maintenance more difficult. However, if your database is used by other applications, it may be a good idea to use some constraints at the database level. Additional...
RubyTeach is part of DevTeach and it offer 3 days of training between May 29th and May 31st. A total of 11 sessions on Ruby and over 30 sessions on Web Development (jQuery, HTML5, CSS) and Agile. The best experts in the industry are presenting their knowledge and expertise. This is yo...
bot_detector 0.0.1 Checks user-agents against a list of known bots. install gem install bot_detector Download Documentation Subscribe Stats Authors Katrina Owen 13 total downloads 13 for this version Owners Bundler gem "bot_detector", "~> 0.0.1" Versions 0.0.1 April 11, 2012 Developme...