edgarj 4.00.03 → 4.00.04
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/edgarj/edgarj_controller.rb +2 -0
- data/lib/edgarj/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e354eb22c54ed1a8d2b4f36fafb43d3dc4f3af4
|
4
|
+
data.tar.gz: 753e8b133475f62e837f19fb584a6616ce217b82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7916712333a9a729e84114bfe33d5f228f7e0a18c848d6f319ddb2fd6ff3936cbd7daa33bb147a5bcbfc0381ffd4041bee92ac707084916815c132c51dcb63d
|
7
|
+
data.tar.gz: 720a8b32847a8d53cfd7b3d7fa6c7c7d77b03a443cb67415f7ec87e338aba799bb9de9b4fa89084fe3ad79d9a5a8792283a0f942b72ab163ab39652bab387450
|
@@ -139,6 +139,7 @@ module Edgarj
|
|
139
139
|
# NOTE2: valid? after create() calls validate_on_update. This is not
|
140
140
|
# an expected behavior. So, new, valid?, then save.
|
141
141
|
@record = model.new(permitted_params(:create))
|
142
|
+
@record_saved = @record # copy for possible later use
|
142
143
|
on_upsert
|
143
144
|
#upsert_files
|
144
145
|
raise ActiveRecord::RecordNotSaved if !@record.valid?
|
@@ -191,6 +192,7 @@ module Edgarj
|
|
191
192
|
# ModelPermission::DELETE on this controller is required.
|
192
193
|
def destroy
|
193
194
|
m = model.find(user_scoped.find(params[:id]).id)
|
195
|
+
@record_saved = m # copy for possible later use
|
194
196
|
m.destroy
|
195
197
|
|
196
198
|
prepare_list
|
data/lib/edgarj/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: edgarj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.00.
|
4
|
+
version: 4.00.04
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fuminori Ido
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -359,7 +359,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
359
359
|
version: '0'
|
360
360
|
requirements: []
|
361
361
|
rubyforge_project:
|
362
|
-
rubygems_version: 2.
|
362
|
+
rubygems_version: 2.5.2
|
363
363
|
signing_key:
|
364
364
|
specification_version: 4
|
365
365
|
summary: Scaffold with Ajax, search, sort, 'belongs_to' popup, and more.
|