Merge branch 'dev' into plantings-harvests

This commit is contained in:
Shiny
2017-03-16 14:59:54 +13:00
committed by GitHub
2 changed files with 3 additions and 4 deletions

View File

@@ -77,7 +77,8 @@ submit the change with your pull request.
- Jim Stallings / [jestallin](https://github.com/jestallin)
- Alyssa Ransbury / [alran](https://github.com/alran)
- Thomas Countz / [thomascountz](https://github.com/thomascountz)
- Arun Kumar / [arun1595](https://github.com/arun1595)
## Bots
- Security and Dependency Updates / [deppbot](https://github.com/deppbot)
- Security and Dependency Updates / [deppbot](https://github.com/deppbot)

View File

@@ -39,9 +39,7 @@ class Post < ActiveRecord::Base
default_scope { order("created_at desc") }
validates :subject,
format: {
with: /\S/
},
presence: true,
length: { maximum: 255 }
def author_date_subject