think_feel_do_engine 3.22.2 → 3.22.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8be8b651639081ece8f6ad7a66d906c51eedd6a
|
4
|
+
data.tar.gz: 6a4019df2270f606df941612a59f16a63f0e206b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecd6d1e8d85b6e2b33feb28b8dab919c76f4ec9b6713c5582fd14cda32cd22f7652023f6d228fc3540d72142528c7053c1a2218d140f2175ebcb5e65e9e4864d
|
7
|
+
data.tar.gz: bb5f7770c6f11bd220594bdb29dded989fb77ef79a0330a64a1a08af8906bfd375f6c6ae3ea4f63c83b74483d84b964e057a7efd9bce1db00d8e95293d46ac3b
|
data/app/models/activity.rb
CHANGED
data/app/models/message.rb
CHANGED
@@ -8,6 +8,7 @@ class Message < ActiveRecord::Base
|
|
8
8
|
has_many :delivered_messages, dependent: :destroy
|
9
9
|
|
10
10
|
validates :subject, :sender, :recipient, presence: true
|
11
|
+
validates :subject, length: { maximum: 255 }
|
11
12
|
validate :participant_is_messageable,
|
12
13
|
if: proc { |message| message.recipient.try(:notify_by_email?) }
|
13
14
|
|
@@ -21,7 +21,11 @@
|
|
21
21
|
|
22
22
|
<div class="form-group">
|
23
23
|
<label for="message_subject" class="control-label">Subject</label>
|
24
|
-
<%= f.text_field :subject,
|
24
|
+
<%= f.text_field :subject,
|
25
|
+
required: true,
|
26
|
+
value: subject,
|
27
|
+
class: "form-control .col-xs-12 .col-sm-6 .col-md-6 .col-lg-4",
|
28
|
+
maxlength: 255 %>
|
25
29
|
</div>
|
26
30
|
|
27
31
|
<div class="form-group">
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: think_feel_do_engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.22.
|
4
|
+
version: 3.22.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Carty-Fickes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|