May 9, 2012 Tagged: factory girl rails slow tests testing Comments (View) Use Factory Girl’s build_stubbed for a Faster Test Suite Want to speed up your test suite? Reduce the number of objects persisted to the database. With Factory Girl, this is really easy; instead of using build o...
It is often asked: Is Rails a good fit if I only need to serve an API? In this episode I show how to use the Rails API gem to create a slimmer Rails application designed to respond with JSON.
The courageous folk working on the GOV.UK website (an experimental ‘beta’ replacement for Directgov and the first step towards a single government website) have regularly written about their experience and their blog is a worthwhile read. Their most recent article Delivering Inside Go...
#349 Rails Modularity May 09, 2012 | 13 minutes | Rack , Models , Performance Rails is a modular framework allowing you to include only what you need. Here I show how the smallest Rails app works, and then I take a look at how to whittle down a full Rails application stack. Subscribe ...
drbrain | Wed, 09 May 2012 20:48:00 GMT Posted in Software Documentation Source The Mechanize library is used for automating interaction with websites. Mechanize automatically stores and sends cookies, follows redirects, and can follow links and submit forms. Form fields can be popula...
bullet 4.0.0 released (support mongoid) Posted by flyerhzm on May 09, 2012 — 0 comments bullet is designed to help you reduce the number of db queries, I just released gem bullet 4.0.0, it supports mongoid now, I also wrote a post to tell you the details. Comments Post a Comment C...
Multiple Ruby Version Support on Heroku Posted by schneems on May 09, 2012 — 0 comments Heroku has long advocated having a strong parity between development and production environments , now you can run the same Ruby version in your production app that you used to develop it. With the...
Wednesday, May 9, 2012 at 5:18AM Email bankruptcy is starting to seem like a viable alternative. Anyone in the market for some small Rails clients? I18n Alchemy - localization and parsing - New gem to handle localizing and parsing date, time, and numeric attributes when getting or set...
Ruby Under a Microscope Posted by patshaughnessy on May 09, 2012 — 0 comments I just published one chapter from my upcoming Ruby internals eBook, called Ruby Under a Microscope - Learning Ruby Internals Through Experiment . Comments Post a Comment Comment abilities for non registe...
Rennes On Rails Bar “CSS facile” le 4 octobre 2011 Avec Rennes On Rails À 26 ans, Kaelig Deloumeau est intégrateur web autodidacte. Il crée des sites web depuis une grosse dizaine d’années. Il occupe le poste de développeur front-end à l’agence LunaWeb depuis bientôt 4 ans. Ses maître...
Fully support your boss' plan, but request to be put on a 'research' or 'experimental' team where you interact directly with the business on a new product (assuming that's possible). I've done this successfully. The rest of IT followed the traditional approach that your boss is propos...
Rails is a modular framework allowing you to include only what you need. Here I show how the smallest Rails app works, and then I take a look at how to whittle down a full Rails application stack.
TaskMapper provides a universal API to ticket tracking and project management systems.
You may enter a privacy password below. This provides only mild security, but should prevent others from messing with your subscription. Do not use a valuable password as it will occasionally be emailed back to you in cleartext. If you choose not to enter a password, one will be autom...
After floundering around for a while trying to get Erb Rendering to work by doing it manually, using Erb directly, and then having to deal with making the Rails view helpers available in that Erb, we realized that we could just add the Widgetfinger controller responsible for causing t...
Starting with version 3.1, Rails defaults to concatenating all JavaScript files into one master .js file and all CSS files into one master .css file. As you’ll learn later in this guide, you can customize this strategy to group files any way you like. In production, Rails inserts an M...