Skip to main content
Brett Bender's user avatar
Brett Bender's user avatar
Brett Bender's user avatar
Brett Bender
Senior Software Architect
  • Member for 15 years, 3 months
  • Last seen more than 1 year ago
1181 votes

How do I check if a variable is an array in JavaScript?

76 votes
Accepted

MySQL - Duplicate table

55 votes
Accepted

Updating several records at once in rails

43 votes
Accepted

Parsing HTTParty response

33 votes
Accepted

AWS::S3 rename a folder

31 votes
Accepted

RVM: specify a ruby version to use

29 votes
Accepted

How can I skip an error if find returns nothing in rails?

20 votes

How to add users with email only in Devise

16 votes
Accepted

Display last logged in details using Devise in Rails 3

16 votes

Rails get index of "each" loop

14 votes

Variable for img src=

14 votes

What is the best and safest way to store user email addresses in the database?

13 votes
Accepted

How can I keep a Delayed_Job task from failing with "execution expired"

11 votes
Accepted

Why does delayed_jobs loop when it errors?

10 votes

Rails: Find by related model attribute?

8 votes
Accepted

calculate difference in time in days, hours and minutes

7 votes
Accepted

How do I get the entire error stack when raising an exception?

7 votes
Accepted

Installing Heroku's Taps gem

7 votes
Accepted

It works. But is it best practice?

7 votes
Accepted

Sending emails to multiple subscribers with the Zend Framework

7 votes

TextMate: how to highlight the entire line to copy and paste?

6 votes
Accepted

Using "params" and "cookies" methods inside the a class under lib directory - rails 3

6 votes
Accepted

Using Ruby on Rails link_to to link to controller action

5 votes
Accepted

Rails scope find with current user

5 votes
Accepted

Omniauth in Rails 3.1.rc4

5 votes
Accepted

when you do activeRecord.save does the transaction commit or is when the method exits?

5 votes
Accepted

Ruby error undefined method `model_name' for NilClass:Class using scopes

5 votes

Convert a string date format from "17-Nov-2011" to "11/17/11"

5 votes

Editing and creating things with address bar code?

5 votes
Accepted

A constant for a default value in Rails migration

1
2 3 4 5