03 Jan, 2016
1 commit
-
Long names in the problems index can blow up the table layout, causing ugliness and potentially horizontal scrolling. This change adds whitespace: nowrap and sets a few td widths to keep the layout from jumping around.
24 Nov, 2015
1 commit
15 Nov, 2015
5 commits
-
By returning early the flow is hoped to be a bit clearer.
-
Based on https://github.com/bbatsov/ruby-style-guide#single-line-blocks
-
Should make it less confusing what belongs where
04 Nov, 2015
10 commits
-
This allows code to be copy/pasted into the console for easy experimentation and spelunking.
31 Oct, 2015
5 commits
-
Sorry, this touches a lot of code.
20 Oct, 2015
1 commit
-
This is a tough call, both the Rails style (with private/protected) methods indented one level under the keyword, and other places using the standard ruby don't modify identation for access level. I think this strikes a good balance while still being readable. s
15 Oct, 2015
3 commits
-
Still allowing for internal alignment across lines.
12 Oct, 2015
5 commits
-
That's what the majority of the codebase is using, so following that
-
Now this succeeds: $ bundle exec rubocop --lint --only UselessAssignment
-
Run with "bundle exec rubocop --lint --auto-correct"
28 Sep, 2015
1 commit
08 Sep, 2015
1 commit
14 Aug, 2015
1 commit
10 Apr, 2015
1 commit
20 Mar, 2015
1 commit
09 Feb, 2015
1 commit
06 Jan, 2015
1 commit
-
Also added a spec to test for double escaping which fails without the changes to truncated_problem_message.
20 Nov, 2013
1 commit
31 Oct, 2013
1 commit
-
Using the scope on apps controller will yield lots of queries, so we need to call .to_a