Gareth's user avatar
Gareth's user avatar
Gareth's user avatar
Gareth
Senior Software Engineer at BridgeU
  • Member for 14 years, 5 months
  • Last seen this week
167 votes
9 answers
100k views

Overriding a Rails default_scope

86 votes
4 answers
31k views

Collapsing a git repository's history

43 votes
2 answers
11k views

Where do UUID namespaces come from?

28 votes
9 answers
11k views

WARNING: Nokogiri was built against LibXML version 2.7.7, but has dynamically loaded 2.6.16

22 votes
4 answers
40k views

How to find elements by attribute namespace in XPath

15 votes
5 answers
9k views

Rails AJAX: My partial needs a FormBuilder instance

9 votes
1 answer
1k views

How do you stub ActiveRecord::Base methods without making assumptions about how it's used?

5 votes
2 answers
2k views

Testing dynamic initial states with FactoryGirl and StateMachine

5 votes
3 answers
3k views

Using bundler, how do you unpack a gem installed via a git repository?

5 votes
6 answers
989 views

Repeatable randomness in Ruby

5 votes
1 answer
2k views

Stop Rails from unloading a module in development mode

4 votes
2 answers
978 views

How does ActiveRecord implement `:if => ...` on validations

4 votes
7 answers
583 views

Best way to include unobtrusive information on a web page

4 votes
1 answer
656 views

Can I create an *un*named scope in Rails?

4 votes
1 answer
1k views

Force browser to display ISO-8859-1 without interpreting as Windows-1252

3 votes
1 answer
344 views

Should a browser extension change the User-Agent header for requests it initiates?

3 votes
2 answers
259 views

What should an escape character do if the following character doesn't need escaping?

2 votes
2 answers
2k views

Create instance of Rails model with has_many association prepopulated

2 votes
1 answer
2k views

Why does the order of including modules make a difference in Ruby?

2 votes
2 answers
401 views

Verify minimum version requirements with bundler

1 vote
3 answers
575 views

Composing a Tire query from multiple ruby blocks

1 vote
2 answers
500 views

Is there a Rails authentication library which separates users from login methods?

0 votes
1 answer
170 views

Sorting page flow for has_many in Rails