Fork me on GitHub

Keep Learning Conhecimento nunca é o bastante

Posts com a tag Rails

Postado em
10 April 2012 @ 14:15

Tag(s)
Deploy, Rails, Ruby

Capistrano and whenever: updating the crontab of the runner user

When deploying Rails applications with Capistrano it’s a common practice to use two separated users: a deployer (the user who actually does the deploy process, copying files and all that) and a runner (the user that runs the application on the server). If you need cronjobs you probably use the whenever gem. It’s an awesome [...]


Compilando uma versão local do Rails Guides

Para compilar uma versão local do Rails Guides, você pode fazer o seguinte processo: 1) Descubra qual o seu “gem path”, o local onde suas gems estão instaladas. No meu caso, o Rails está instalado diretamente no sistema e não utilizo rvm ou rbenv. Para encontrar essa informação, utilizei o comando “gem env” diretamente no [...]


Postado em
1 March 2012 @ 22:06

Tag(s)
Opinião, Rails

Modularity on Rails

Following my last article I’d like to elaborate on my opinions. First, let’s review some things: Yes, I know you can deactivate a lot of the bundled stuff in Rails; that doesn’t solve any of the issues. Yes, I’m aware of Railties; It’s nice, well built, a good step forward; still doesn’t solve any of [...]


Postado em
1 March 2012 @ 1:44

Tag(s)
Opinião, Rails

Rails has entered the framework death spiral

I usually write here in Brazilian Portuguese but this post is written in English in the hope of getting some useful attention and discussion going on (yes, wishful thinking). Before we start this, let’s make some things clear. When I criticize Rails there’s two common reactions: The Lovers: “OMG, DHH and the Core Team are [...]


SOLID Ruby: Single Responsibility Principle

Utilizamos BDD e técnicas do programação orientada a objetos não apenas para obter código mais limpo e bonito. Na verdade, essas são consequências do principal objetivo: criar código que tenha baixo custo de manutenção, isto é, não demande muito tempo e pessoas para correções e melhorias. Um conjunto de técnicas que podemos utilizar para atingir [...]


← Anterior