railsaholic
|
34bba737ff
|
Refactor SessionController#create, reduce complexity.
Don't compromise readablity
|
2013-11-15 22:09:03 +05:30 |
|
railsaholic
|
58f78e9001
|
Refactor Users#upload_avatar method
Moved avatar file upload to ```AvatarUploadService``` class and
```AvatarUploadPolicy```
Address review comments + require missing file in spec
|
2013-11-11 23:21:14 +05:30 |
|
Manoj
|
a1e2706c2f
|
Relation#all deprecation warning fix for Rails 4
|
2013-11-06 01:05:28 +05:30 |
|
Manoj
|
9650dbb97c
|
Refactor topics controller
Refactor: 1) TopicsController to reduce code climate complexity.
2) Topic model, addressed comments
fix typo
|
2013-10-28 11:42:07 +05:30 |
|
Manoj
|
96ae3cdacc
|
Utilize already existing method 'find_by_username_or_email'
check presence of email using include, dont use =~
|
2013-10-24 19:26:06 +05:30 |
|
Manoj
|
7dfa99998f
|
Remove duplication of action defintion, add missing spec for topics_by, extract out URL construction logic
|
2013-10-21 08:34:18 +05:30 |
|
Manoj
|
868e4ffe6d
|
refactor UsersController to reduce complexity
Refactored: UsersController#create
|
2013-10-19 15:18:11 +05:30 |
|
Manoj
|
7c03076c2a
|
Refactored Topic#limit_topics_per_day to reduce code climate complexity
Extracted 1) #apply_per_day_rate_limit_for, method as generic
RateLimiter , 2) #limit_first_day_topics_per_day as a separate method,
3) Added User#added_a_day_ago?, 4) Fixed private methods indentation.
|
2013-10-16 14:58:18 +05:30 |
|