Earlopain
|
fc7d84affd
|
[RuboCop] Enable Style/FrozenStringLiteralComment
This reduces allocations on the posts page by about 5%, from basic testing
|
2024-02-25 18:15:55 +01:00 |
|
Albert Yi
|
011a6f1f7c
|
move post preview presenter to partial
|
2018-10-29 17:46:45 -07:00 |
|
evazion
|
26e8b7144a
|
Fix exception in h(post.source) when source is nil (fixes #2940).
Fixes this exception:
TypeError exception raised
no implicit conversion of nil into String
app/presenters/presenter.rb:3:in `escapeHTML'
app/presenters/presenter.rb:3:in `h'
app/presenters/post_presenter.rb:91:in `data_attributes'
app/presenters/post_presenter.rb:24:in `preview'
app/presenters/post_set_presenters/base.rb:15:in `block in post_previews_html'
app/presenters/post_set_presenters/base.rb:14:in `post_previews_html'
app/views/posts/partials/index/_posts.html.erb:3:in `_app_views_posts_partials_index__posts_html_erb___2716396856929289512_70158315986180'
app/views/posts/index.html.erb:39:in `_app_views_posts_index_html_erb__1345252938355811220_70158296799280'
app/controllers/posts_controller.rb:16:in `index'
|
2017-03-25 23:43:20 -05:00 |
|
小太
|
cba839ba76
|
Kill trailing whitespace in ruby files
|
2013-03-19 23:10:10 +11:00 |
|
albert
|
490d36e2a1
|
fixes #407
|
2013-02-19 13:42:19 -05:00 |
|
albert
|
190beedb7a
|
post histories finished
|
2010-11-06 12:16:24 -04:00 |
|
albert
|
23656e3fa9
|
* Continued work on improving post view templates
* Added statistics-based estimator for related tag calculator
* Fleshed out IpBan class based on changes to Danbooru 1.xx
|
2010-04-29 17:32:15 -04:00 |
|
albert
|
ca8be10ab9
|
more work on post uploads
|
2010-03-12 19:27:54 -05:00 |
|