eyeballs 0.5.3 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +1 -1
- data/Rakefile +1 -1
- data/eyeballs.gemspec +1 -1
- data/templates/scaffold_index.html +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -289,7 +289,7 @@ Imagine a simple app for posting reviews. It will comprise a "Review" model, "Re
|
|
289
289
|
|
290
290
|
This defines the Review model, allowing us to initialize and save Review objects, while ensuring `title` and `content` are included.
|
291
291
|
|
292
|
-
The `create` action in `controllers/
|
292
|
+
The `create` action in `controllers/reviews_venue.js` looks like this (using jQuery):
|
293
293
|
|
294
294
|
...
|
295
295
|
create: function(){
|
data/Rakefile
CHANGED
data/eyeballs.gemspec
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
|
12
12
|
<h2>Add:</h2>
|
13
13
|
|
14
|
-
<form data-bind="<%= name.downcase.pluralize
|
14
|
+
<form data-bind="<%= name.downcase.pluralize %>#create">
|
15
15
|
<%- attributes.each do |attribute| %>
|
16
16
|
<label for="<%= name.downcase %>-<%= attribute.name %>"><%= attribute.name.titlecase %></label><br />
|
17
17
|
<%- if attribute.type == 'text' %>
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eyeballs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 4
|
10
|
+
version: 0.5.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Paul Campbell
|