myrails 2.2.0 → 2.2.1
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: 8271577d44bf79bc6b19e96c9b242283908ef12f
|
4
|
+
data.tar.gz: 119e5c959b1aee7aea90bc90a1507070abe3b2f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c5db82ba8f9df9b43280f9a3b3862d92669a0c0f12b695d9329cfd0809227c8eef021f57fad94821f5d51aae0f0e48453c0dcf3c421476caaf6ef8102d3e2c7
|
7
|
+
data.tar.gz: abeb35220598d18fef4736785cd1ed4d857f9afcac9e017e52a72a9ff5a36f784e7f77ed054ea9520d59f99d537cee9c9c0e4931a662e1c927cb1a7908a95870
|
@@ -3,7 +3,7 @@ class <%= options[:name].pluralize.camelize %>Controller < ApplicationController
|
|
3
3
|
private
|
4
4
|
|
5
5
|
def <%= options[:name].singularize %>
|
6
|
-
@<%= options[:name].singularize %> = <%= options[:name].camelize.
|
6
|
+
@<%= options[:name].singularize %> = <%= options[:name].camelize.singularize %>.find(params[:id])
|
7
7
|
end
|
8
8
|
|
9
9
|
def <%= options[:name].singularize %>_params
|
data/lib/myrails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: myrails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|