サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
アメリカ大統領選
simonecarletti.com
This article targets Rails ~> 3.2 The article was written as of Rails 3.2. The information contained in this page might not apply to different versions. I have a very simple Rails 3.1 application, deployed on Heroku. Just after upgrading it to Rails 3.2, the deploy to Heroku stopped working properly. More specifically, the rake asset:precompile task was failing during slug compilation. Your bundle
I don't have time to read and I want to jump immediately to the solution. The problem From the day I started using DelayedJob in combination with God, I faced the problem to restart the god group every time I deployed a new application release. In fact, when a rake task (God runs DelayedJob using the rake jobs:work task, here's the config) is started, it loads the entire Rails environment and keep
One of the features I enjoy the most about Redmine is the built-in support for the most common SCM tools including Subversion, Git and Mercurial. As a Rubyist, you are probably using Git for the most of your Ruby/Rails projects and chances are you'd like to have Redmine synchronized with your Git repositories. Configuring a Git repository with Redmine it's really straightforward but if you come fr
This article targets Rails 2.3 Rails 3 The information contained in this page might not apply to different versions. This is article is part of my series Understanding Ruby and Rails. Please see the table of contents for the series to view the list of all posts. Delegation is a quite common practice in Ruby projects, if you consider proxies, mixins and composition as the ingredient of the Delegati
This article targets Rails 3 The article was written as of Rails 3.1. The information contained in this page might not apply to different versions. There are several ways to force your Rails application to use SSL and the HTTPS protocol. Rails >= 3.1 If you are using Rails 3.1 (currently available in beta1) or greater, this commit makes it incredibly easy to switch from HTTP/HTTPS and vice-versa.
As part of my contributions to the Mozilla Public Suffix List project, I developed some libraries in different programming languages to interact with the Public Suffix List. The public_suffix Ruby gem The publicsuffix Go package
This article targets Rails 3 The article was written as of Rails 3.2. The information contained in this page might not apply to different versions. This is article is part of my series Understanding Ruby and Rails. Please see the table of contents for the series to view the list of all posts. A small-but-interesting feature introduced in Rails 3 is the built-in support for lazy loading. Lazy loadi
With the first Rails 3 Release Candidate available in a few days and the final version just around the corner, it's time to start thinking in The Rails 3 way. Many developers, including myself, already started to work with Rails 3 and many others are tracking the changes, waiting for the right time to upgrade their Rails 2 applications. There are already thousands of articles talking about the mos
This article targets Rails 3 The article was written as of Rails 3.0. The information contained in this page might not apply to different versions. One of the biggest changes on the frontend side of the upcoming Rails 3 version is the replacement of the Prototype JavaScript helpers in favor of Unobtrusive JavaScript (UJS). The implementation of Unobtrusive JavaScript, and the consequent removal of
This article targets Rails 2.3 Rails 3 The information contained in this page might not apply to different versions. This is article is part of my series Understanding Ruby and Rails. Please see the table of contents for the series to view the list of all posts. Last time I talked about the ActiveSupport Module#delegate method. Today, I want to introduce an other poweful ActiveSupport module: Resc
This is the first post, as well the table of contents, of my series Understanding Ruby and Rails (formerly known as Inside Ruby on Rails). This post is updated whenever a new article is published. Jump to end of this page to view list of all posts. In my experience, the most part of Rails developers tend to use just a really limited subset of all the features the Rails framework offers. If you cou
This article targets Rails 2.3 Rails 3 The information contained in this page might not apply to different versions. This is article is part of my series Understanding Ruby and Rails. Please see the table of contents for the series to view the list of all posts. A few weeks ago, Alan Skorkin posted a nice article about serializing objects with Ruby introducing different serialization options, incl
Last week, an user asked the Capistrano mailing list about database password best practices. This reminded me that I never posted here a Capistrano recipe I created almost one year ago to solve exactly this problem. Which problem? Imagine you need to deploy a new Rails application. As you probably know, Rails stores all the database configurations in a single file called config/database.yml, inclu
Capistrano provides 5 super helpful methods you can use to transfer files and resources from your local machine to remote servers and vice versa. Those methods lives in a module called FileTransfer, part of the Capistrano::Configuration::Actions namespace. The FileTransfer methods are: upload put download get transfer These methods are not a merely a ssh-based implementation of the basic FTP comma
This is going to be a really fruitful month for me. I completed a couple of long-time standing activities and I finally had some time to go back working on my Ruby gems. After the third version of my Ruby client for delicious API, this is the turn of Apache Log Regex. ApacheLogRegex is designed to be a simple Ruby class to parse Apache log files. It takes an Apache logging format and generates a r
Quite often you might want to integrate upload capabilities in your Rails application. For example, you want to provide users the ability to configure their avatar or your e-commerce needs to display an image in the product page. Creating an upload system in Rails is a piece of cake. There are tons of plugins out of there that you can install and configure in a couple of click. Here's a couple of
このページを最初にブックマークしてみませんか?
『Simone Carletti — Underwater programmer』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く