David Morales

Barcelona, Spain

davidmles.com

Age: 35

I'm a passionate software engineer and entrepeneur, interested in good practices.

Enjoying Ruby and Ruby on Rails since 2011.

Before that I had 10+ years experience in PHP, 5 of those using frameworks such as symfony and Symfony2.

I also enjoy administering UNIX machines.

Aug
3
awarded Notable Question
Jul
27
awarded Necromancer
Jul
19
awarded Favorite Question
Jun
23
comment Ruby on Rails 3 howto make 'OR' condition
Sure, as the first commenter states, using parameters is the good way to do it. I just wrote hardcoded numbers as an example.
Jun
19
awarded Good Answer
Jun
18
awarded Popular Question
Jun
8
awarded Nice Question
Apr
1
awarded Good Answer
Mar
23
awarded Custodian
Mar
5
accepted Simple queue system with scheduling support
Feb
27
awarded Populist
Feb
21
accepted How to insert Google Analytics after clicking a button?
Feb
20
awarded Great Answer
Feb
19
answered How to insert Google Analytics after clicking a button?
Feb
18
comment How to insert Google Analytics after clicking a button?
Thanks for the example. Is it possible to load the Analytics code? (not just the track page view, but the entire code).
Feb
18
comment How to insert Google Analytics after clicking a button?
@Jaxo could you post a simple example please? :)
Feb
18
asked How to insert Google Analytics after clicking a button?
Feb
16
awarded Nice Answer
Feb
9
comment How to redirect to a 404 in Rails?
Now it's better practice to use fail: fail ActiveRecord::RecordNotFound, 'Not Found'
Feb
6
awarded Yearling
1 2 3 4 5