Practicing Rails
Find a file
Andrew Tomaka 7f540a73e1 Merge branch 'atomaka/refactor/demeter-fixes' into 'master'
Fix some law of demeter violations

```
@post.user.username
```

is not good

```
delegate :username, to: :user, prefix: true
@post.user_username
```

is apparently good? Although I've never really seen the advantage since I feel like we're just masking an underlying problem.  But at least it looks a little nicer.

See merge request !14
2015-07-20 15:18:56 -04:00
app Fix some law of demeter violations 2015-07-20 15:15:57 -04:00
bin Initial commit 2015-07-08 10:24:41 -04:00
config Replace homegrown slug with friendly_id 2015-07-16 02:26:27 -04:00
db Replace homegrown slug with friendly_id 2015-07-16 02:26:27 -04:00
lib Add user creation 2015-07-09 16:31:41 -04:00
log Initial commit 2015-07-08 10:24:41 -04:00
public Initial commit 2015-07-08 10:24:41 -04:00
spec Fix some law of demeter violations 2015-07-20 15:15:57 -04:00
vendor/assets Initial commit 2015-07-08 10:24:41 -04:00
.gitignore Add user creation 2015-07-09 16:31:41 -04:00
.metrics Add metrics for testing / style / best practices 2015-07-10 00:27:23 -04:00
.rspec Development and testing setup 2015-07-08 14:51:49 -04:00
.ruby-version Initial commit 2015-07-08 10:24:41 -04:00
config.ru Initial commit 2015-07-08 10:24:41 -04:00
Gemfile Replace homegrown slug with friendly_id 2015-07-16 02:26:27 -04:00
Gemfile.lock Replace homegrown slug with friendly_id 2015-07-16 02:26:27 -04:00
Guardfile Development and testing setup 2015-07-08 14:51:49 -04:00
Rakefile Initial commit 2015-07-08 10:24:41 -04:00
README.md Development and testing setup 2015-07-08 14:51:49 -04:00

creddit

C(lone)reddit

Development

Some stuff for notifications later

Mac

  • brew install terminal-notifier

Ubuntu 14.04