|
1 |
| - |
| 1 | + |
2 | 2 |
|
3 | 3 | *Forem, using the forem-bootstrap theme*
|
4 | 4 |
|
@@ -52,21 +52,21 @@ rails g forem:install
|
52 | 52 |
|
53 | 53 | ## Set up helper methods in your user model
|
54 | 54 |
|
55 |
| -Forem depends on a `to_s` method being available on your `User` model so that it can display the user's name in posts. Define this in your model like this: |
| 55 | +Forem uses a `forem_name` (which defaults as `to_s`) method being available on your `User` model so that it can display the user's name in posts. Define it in your model like this: |
56 | 56 |
|
57 | 57 | ```ruby
|
58 |
| -def to_s |
| 58 | +def forem_name |
59 | 59 | name
|
60 | 60 | end
|
61 | 61 | ```
|
62 | 62 |
|
63 | 63 | Please note that if you are using Devise, User model does not have `name` column by default,
|
64 | 64 | so you either should use custom migration to add it or use another column (`email` for example).
|
65 | 65 |
|
66 |
| -It also depends on an `email` method for displaying avatars using [Gravatar](http://gravatar.com). If you don't have an `email` attribute on the model, define a new method: |
| 66 | +It also uses an optional `forem_email` method for displaying avatars using [Gravatar](http://gravatar.com). It defaults to `email`. If you don't have an `email` attribute on the model, define a new method: |
67 | 67 |
|
68 | 68 | ```ruby
|
69 |
| -def email |
| 69 | +def forem_email |
70 | 70 | email_address
|
71 | 71 | end
|
72 | 72 | ```
|
@@ -227,15 +227,13 @@ If all the tests are passing (they usually are), then you're good to go! Develop
|
227 | 227 |
|
228 | 228 | ## Places using Forem
|
229 | 229 |
|
230 |
| -* [Bias Project](http://biasproject.org) |
231 | 230 | * [Alabama Intel](http://alabamaintel.com)
|
232 |
| -* [PixieEngine](http://pixieengine.com/community) |
233 |
| -* [2012 Presidential Election](http://www.2012-presidential-election.info/network/) |
234 | 231 | * [Huntington's Disease Youth Organization](http://hdyo.org/)
|
235 | 232 | * [Miniand Tech](https://www.miniand.com/forums)
|
236 | 233 | * [Goodsmiths](https://www.goodsmiths.com/hub)
|
237 | 234 | * [Now Novel](http://nownovel.com/bookwriting)
|
238 | 235 | * [OrbsCCG](http://orbsccg.com/forums/)
|
239 | 236 | * [Airesis](http://www.airesis.eu)
|
| 237 | +* [Lab Nation](https://www.lab-nation.com/forum/) |
240 | 238 |
|
241 | 239 | If you want yours added here, just ask!
|
0 commit comments