pointless_feedback 4.0.2 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +32 -5
- data/app/controllers/pointless_feedback/messages_controller.rb +2 -0
- data/app/models/pointless_feedback/message.rb +25 -4
- data/lib/generators/templates/pointless_feedback.rb +27 -5
- data/lib/pointless_feedback.rb +11 -0
- data/lib/pointless_feedback/version.rb +1 -1
- data/test/dummy/log/test.log +0 -30163
- metadata +60 -128
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -200
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/CDA/AF0/sprockets%2F2b009905de1eb97e693a12d62f76c221 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D72/890/sprockets%2F6208de944cfe6b5b3c3c37c89d32f41a +0 -0
- data/test/dummy/tmp/cache/assets/DD9/830/sprockets%2Fc25e8f936dbc8c2b26c7c7b3d7ff6d13 +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/E02/8C0/sprockets%2Fdcaacb4effc911c9573def4b74b82590 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2n_8czzUpfBbWmACOl-6k62Uv4TRJ4b8_-1T5nOdu4w.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/7BoWr8OUj0Xs35Wko795lR6SiZgm7tfXaAZ37yA26W8.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/8wow3SlwChlZlBQ7es2DDQN5BcbB_ixilHFBB_HRlg0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/F0CqWUXpkNoR0LOSbc17rrxtgLyikx41k2wULzYSgqA.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/MhTtmm-8IR_RwYO5M7M_EIE62j-5TFKqN7brwbJ5PW4.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/SH3Dn4RbDTP_KC-390CAFbG-H1stL9FHJH5ufAgk9so.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/SKVSFDu-_sveWMkf3dEZ84rntaMhXsX3H2npPJWt7Lo.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/U7cU4H3gCAQ7AHhtfKpGNmR6nnSXg1UczlCqPYug1SU.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/W-5IUH4ZNJiArfbB85Ibo0CwI-AbGe8p1S08msd-JsA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/WQT4Fg_WVrkuTniWMBbOm_acTHAasEzlK9KKBMnHeo0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Y_qvcRVseI-9a23RY-PoyK9mNy5OMrVwNsuYSK17Kyo.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ae7N3SXHGvNl7qizFNQ3lDmuliB7AOc3lQHeIa0SnTw.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/eOjZbG5UBr6JsOjkWATgOPLmaW2ia3l4C6kktfm3Z34.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fzMvlCHrUWupCILKI3zWgKg847TS_ofWZ_LF1SKftts.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/kWM1otfuMI_SAVFXCe-9XZdWAsvxYAHNwWxV7DQt1Z0.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/lSwe2quDzA-6FsNKg4BFQ1xhHmRv--HbAZGx9ihVHyE.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/mzGLzeYPI8wrZfE5RbBuJLolfb64eApgFUDTf-g6tLU.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/nSM4ifmNdBct6VP8CA0IdNsWxtH7EZb5Iphs-oA03hY.cache +0 -3
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pPYm3XknilnD1WmL4BSML-c1hBmAjkkkapf7aqmY3-c.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pvwl0IHI3tjE7sZSFAFABRVj0PJ1CVMhtHIZP5NvQSs.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qMoHrJl0aibucJEt0011OPpr6sXKr0sFHai3ljDd1RU.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/v3AmkvXX9VMdfZyyd-z8ithE5Owk2ZJlVAkIhe17tMg.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/v8bGpj5Kint_mcnIuXRm1px694Vesh1s1NLt98QAveo.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vUKodLdMsNuvGuB196sDA0ZfGc7CeyhqNuL4gk45osk.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/wdjRpDa6XazR1CWhK7fcSO4Nb_Q0BT5bUuWSama4IiA.cache +0 -1
- data/test/dummy/tmp/capybara/capybara-201306030928415341101962.html +0 -48
- data/test/dummy/tmp/capybara/capybara-201306030937025132981181.html +0 -48
- data/test/dummy/tmp/capybara/capybara-201306030937083494523886.html +0 -48
- data/test/dummy/tmp/capybara/capybara-20130603093722783471600.html +0 -65
- data/test/dummy/tmp/capybara/capybara-20130603094056611257399.html +0 -241
- data/test/dummy/tmp/capybara/capybara-201306030944524823294090.html +0 -14
- data/test/dummy/tmp/capybara/capybara-20130828105343685535937.html +0 -50
- data/test/dummy/tmp/capybara/capybara-201308281055176538066301.html +0 -52
- data/test/dummy/tmp/capybara/capybara-201311071553562925508230.html +0 -58
- data/test/tmp/config/initializers/pointless_feedback.rb +0 -15
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
"%�RH���=kՎ�!1�d/_-�����6^�
|
@@ -1,2 +0,0 @@
|
|
1
|
-
[o:Set:
|
2
|
-
@hash{I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"zfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/javascripts/application.js;TTI"kfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/javascripts;TTI"rfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/javascripts/jquery;TTI"kfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets;TTI"rfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets/jquery;TTI"bfile-digest:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts;TTI"ifile-digest:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery;TTI"lfile-digest:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery.js;TTI"vfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/javascripts/jquery_ujs;TTI"vfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets/jquery_ujs;TTI"mfile-digest:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs;TTI"pfile-digest:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs.js;TT
|
@@ -1 +0,0 @@
|
|
1
|
-
I"�file:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=17500db5610b4938eb5ad45e4773aae0d7c6c5c2003d006590789f6d99aa7f04:ET
|
Binary file
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
"%X�p5����9~]~BK�����s��}^���%
|
@@ -1,2 +0,0 @@
|
|
1
|
-
[o:Set:
|
2
|
-
@hash{I"environment-version:ETTI"environment-paths;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"zfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"lfile-digest:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery.js;TTI"pfile-digest:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs.js;TTI"kfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/javascripts;TTI"rfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/javascripts/jquery;TTI"kfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets;TTI"rfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets/jquery;TTI"bfile-digest:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts;TTI"ifile-digest:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery;TTI"vfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/javascripts/jquery_ujs;TTI"vfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets/jquery_ujs;TTI"mfile-digest:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs;TT
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
I"�file:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets/application.css?type=text/css&id=c18ad03424afe90ad19d6369cd8a910fef8045867ebcacff0dd06f298e5245f3:ET
|
@@ -1 +0,0 @@
|
|
1
|
-
I"�file:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=b35497c3bc8093166b31f01429b4e5f242f9e3569a3b0c62e297e8a93f05856e:ET
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
I"�file:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs.js?type=application/javascript&pipeline=self&id=8cc482c56167f503cb90ab7ac783f2af3a5c9c29e15fcf0496857296ff400d43:ET
|
@@ -1,3 +0,0 @@
|
|
1
|
-
[o:Set:
|
2
|
-
@hash{
|
3
|
-
I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"{file-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets/application.css;TTI"kfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets;TT
|
@@ -1,2 +0,0 @@
|
|
1
|
-
[o:Set:
|
2
|
-
@hash{I"environment-version:ETTI"environment-paths;TTI"0processors:type=text/css&file_type=text/css;TTI"{file-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"kfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets;TT
|
@@ -1 +0,0 @@
|
|
1
|
-
"%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
|
@@ -1 +0,0 @@
|
|
1
|
-
I"�file:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery.js?type=application/javascript&pipeline=self&id=7292425d62377ee4338adb82babeb8c024eb166d81ef891b1ce3ca18aebbddc7:ET
|
@@ -1 +0,0 @@
|
|
1
|
-
"%����"m�J���S��E�j!�/�d�]�/[���
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
"%|�<�i�Xc�0�ګ��r�.Cn���WJ�
|
@@ -1 +0,0 @@
|
|
1
|
-
I"�file:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/javascripts/application.js?type=application/javascript&id=1e0db5a8e179a32386fe89b2e56026b2e9cc71c8b70a9095b80f6c2d21591132:ET
|
@@ -1,48 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Dummy</title>
|
5
|
-
<link href="/assets/application.css" media="all" rel="stylesheet" type="text/css" />
|
6
|
-
<script src="/assets/application.js" type="text/javascript"></script>
|
7
|
-
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
|
11
|
-
<form accept-charset="UTF-8" action="/pointless_feedback/messages" class="new_message" id="new_message" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /></div>
|
12
|
-
|
13
|
-
<fieldset class="user-fields">
|
14
|
-
<legend>About You</legend>
|
15
|
-
|
16
|
-
<div class="field">
|
17
|
-
<label for="message_name">Name</label>
|
18
|
-
<input id="message_name" name="message[name]" size="30" type="text" />
|
19
|
-
</div>
|
20
|
-
|
21
|
-
<div class="field">
|
22
|
-
<label for="message_email_address">Email address</label>
|
23
|
-
<input id="message_email_address" name="message[email_address]" size="30" type="text" />
|
24
|
-
</div>
|
25
|
-
</fieldset>
|
26
|
-
|
27
|
-
<fieldset class="feedback-fields">
|
28
|
-
<legend>Leave Your Feedback</legend>
|
29
|
-
|
30
|
-
<div class="field">
|
31
|
-
<label for="message_topic">Topic</label>
|
32
|
-
<select id="message_topic" name="message[topic]"><option value="">Please select</option>
|
33
|
-
<option value="Error on page">Error on page</option>
|
34
|
-
<option value="Other">Other</option></select>
|
35
|
-
</div>
|
36
|
-
|
37
|
-
<div class="field">
|
38
|
-
<label for="message_description">Description</label>
|
39
|
-
<textarea cols="40" id="message_description" name="message[description]" rows="20">
|
40
|
-
</textarea>
|
41
|
-
</div>
|
42
|
-
</fieldset>
|
43
|
-
|
44
|
-
<input name="commit" type="submit" value="Create Message" />
|
45
|
-
</form>
|
46
|
-
|
47
|
-
</body>
|
48
|
-
</html>
|
@@ -1,48 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Dummy</title>
|
5
|
-
<link href="/assets/application.css" media="all" rel="stylesheet" type="text/css" />
|
6
|
-
<script src="/assets/application.js" type="text/javascript"></script>
|
7
|
-
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
|
11
|
-
<form accept-charset="UTF-8" action="/pointless_feedback/messages" class="new_message" id="new_message" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /></div>
|
12
|
-
|
13
|
-
<fieldset class="user-fields">
|
14
|
-
<legend>About You</legend>
|
15
|
-
|
16
|
-
<div class="field">
|
17
|
-
<label for="message_name">Name</label>
|
18
|
-
<input id="message_name" name="message[name]" size="30" type="text" />
|
19
|
-
</div>
|
20
|
-
|
21
|
-
<div class="field">
|
22
|
-
<label for="message_email_address">Email address</label>
|
23
|
-
<input id="message_email_address" name="message[email_address]" size="30" type="text" />
|
24
|
-
</div>
|
25
|
-
</fieldset>
|
26
|
-
|
27
|
-
<fieldset class="feedback-fields">
|
28
|
-
<legend>Leave Your Feedback</legend>
|
29
|
-
|
30
|
-
<div class="field">
|
31
|
-
<label for="message_topic">Topic</label>
|
32
|
-
<select id="message_topic" name="message[topic]"><option value="">Please select</option>
|
33
|
-
<option value="Error on page">Error on page</option>
|
34
|
-
<option value="Other">Other</option></select>
|
35
|
-
</div>
|
36
|
-
|
37
|
-
<div class="field">
|
38
|
-
<label for="message_description">Description</label>
|
39
|
-
<textarea cols="40" id="message_description" name="message[description]" rows="20">
|
40
|
-
</textarea>
|
41
|
-
</div>
|
42
|
-
</fieldset>
|
43
|
-
|
44
|
-
<input name="commit" type="submit" value="Create Message" />
|
45
|
-
</form>
|
46
|
-
|
47
|
-
</body>
|
48
|
-
</html>
|
@@ -1,48 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Dummy</title>
|
5
|
-
<link href="/assets/application.css" media="all" rel="stylesheet" type="text/css" />
|
6
|
-
<script src="/assets/application.js" type="text/javascript"></script>
|
7
|
-
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
|
11
|
-
<form accept-charset="UTF-8" action="/pointless_feedback/messages" class="new_message" id="new_message" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /></div>
|
12
|
-
|
13
|
-
<fieldset class="user-fields">
|
14
|
-
<legend>About You</legend>
|
15
|
-
|
16
|
-
<div class="field">
|
17
|
-
<label for="message_name">Name</label>
|
18
|
-
<input id="message_name" name="message[name]" size="30" type="text" />
|
19
|
-
</div>
|
20
|
-
|
21
|
-
<div class="field">
|
22
|
-
<label for="message_email_address">Email address</label>
|
23
|
-
<input id="message_email_address" name="message[email_address]" size="30" type="text" />
|
24
|
-
</div>
|
25
|
-
</fieldset>
|
26
|
-
|
27
|
-
<fieldset class="feedback-fields">
|
28
|
-
<legend>Leave Your Feedback</legend>
|
29
|
-
|
30
|
-
<div class="field">
|
31
|
-
<label for="message_topic">Topic</label>
|
32
|
-
<select id="message_topic" name="message[topic]"><option value="">Please select</option>
|
33
|
-
<option value="Error on page">Error on page</option>
|
34
|
-
<option value="Other">Other</option></select>
|
35
|
-
</div>
|
36
|
-
|
37
|
-
<div class="field">
|
38
|
-
<label for="message_description">Description</label>
|
39
|
-
<textarea cols="40" id="message_description" name="message[description]" rows="20">
|
40
|
-
</textarea>
|
41
|
-
</div>
|
42
|
-
</fieldset>
|
43
|
-
|
44
|
-
<input name="commit" type="submit" value="Create Message" />
|
45
|
-
</form>
|
46
|
-
|
47
|
-
</body>
|
48
|
-
</html>
|
@@ -1,65 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Dummy</title>
|
5
|
-
<link href="/assets/application.css" media="all" rel="stylesheet" type="text/css" />
|
6
|
-
<script src="/assets/application.js" type="text/javascript"></script>
|
7
|
-
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
|
11
|
-
<form accept-charset="UTF-8" action="/pointless_feedback/messages" class="new_message" id="new_message" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /></div>
|
12
|
-
<div class="error_messages">
|
13
|
-
<h2>
|
14
|
-
Invalid Fields
|
15
|
-
</h2>
|
16
|
-
|
17
|
-
<p>
|
18
|
-
Correct the following errors and try again.
|
19
|
-
</p>
|
20
|
-
|
21
|
-
<ul>
|
22
|
-
<li>Email address can't be blank</li>
|
23
|
-
<li>Topic can't be blank</li>
|
24
|
-
<li>Topic is not included in the list</li>
|
25
|
-
<li>Description can't be blank</li>
|
26
|
-
</ul>
|
27
|
-
</div>
|
28
|
-
|
29
|
-
<fieldset class="user-fields">
|
30
|
-
<legend>About You</legend>
|
31
|
-
|
32
|
-
<div class="field">
|
33
|
-
<label for="message_name">Name</label>
|
34
|
-
<input id="message_name" name="message[name]" size="30" type="text" value="Eli" />
|
35
|
-
</div>
|
36
|
-
|
37
|
-
<div class="field">
|
38
|
-
<div class="field_with_errors"><label for="message_email_address">Email address</label></div>
|
39
|
-
<div class="field_with_errors"><input id="message_email_address" name="message[email_address]" size="30" type="text" value="" /></div>
|
40
|
-
</div>
|
41
|
-
</fieldset>
|
42
|
-
|
43
|
-
<fieldset class="feedback-fields">
|
44
|
-
<legend>Leave Your Feedback</legend>
|
45
|
-
|
46
|
-
<div class="field">
|
47
|
-
<div class="field_with_errors"><label for="message_topic">Topic</label></div>
|
48
|
-
<div class="field_with_errors"><select id="message_topic" name="message[topic]"><option value="">Please select</option>
|
49
|
-
<option value="Error on page">Error on page</option>
|
50
|
-
<option value="Other">Other</option></select></div>
|
51
|
-
</div>
|
52
|
-
|
53
|
-
<div class="field">
|
54
|
-
<div class="field_with_errors"><label for="message_description">Description</label></div>
|
55
|
-
<div class="field_with_errors"><textarea cols="40" id="message_description" name="message[description]" rows="20">
|
56
|
-
|
57
|
-
</textarea></div>
|
58
|
-
</div>
|
59
|
-
</fieldset>
|
60
|
-
|
61
|
-
<input name="commit" type="submit" value="Create Message" />
|
62
|
-
</form>
|
63
|
-
|
64
|
-
</body>
|
65
|
-
</html>
|
@@ -1,241 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Ruby on Rails: Welcome aboard</title>
|
5
|
-
<style type="text/css" media="screen">
|
6
|
-
body {
|
7
|
-
margin: 0;
|
8
|
-
margin-bottom: 25px;
|
9
|
-
padding: 0;
|
10
|
-
background-color: #f0f0f0;
|
11
|
-
font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana";
|
12
|
-
font-size: 13px;
|
13
|
-
color: #333;
|
14
|
-
}
|
15
|
-
|
16
|
-
h1 {
|
17
|
-
font-size: 28px;
|
18
|
-
color: #000;
|
19
|
-
}
|
20
|
-
|
21
|
-
a {color: #03c}
|
22
|
-
a:hover {
|
23
|
-
background-color: #03c;
|
24
|
-
color: white;
|
25
|
-
text-decoration: none;
|
26
|
-
}
|
27
|
-
|
28
|
-
|
29
|
-
#page {
|
30
|
-
background-color: #f0f0f0;
|
31
|
-
width: 750px;
|
32
|
-
margin: 0;
|
33
|
-
margin-left: auto;
|
34
|
-
margin-right: auto;
|
35
|
-
}
|
36
|
-
|
37
|
-
#content {
|
38
|
-
float: left;
|
39
|
-
background-color: white;
|
40
|
-
border: 3px solid #aaa;
|
41
|
-
border-top: none;
|
42
|
-
padding: 25px;
|
43
|
-
width: 500px;
|
44
|
-
}
|
45
|
-
|
46
|
-
#sidebar {
|
47
|
-
float: right;
|
48
|
-
width: 175px;
|
49
|
-
}
|
50
|
-
|
51
|
-
#footer {
|
52
|
-
clear: both;
|
53
|
-
}
|
54
|
-
|
55
|
-
#header, #about, #getting-started {
|
56
|
-
padding-left: 75px;
|
57
|
-
padding-right: 30px;
|
58
|
-
}
|
59
|
-
|
60
|
-
|
61
|
-
#header {
|
62
|
-
background-image: url("assets/rails.png");
|
63
|
-
background-repeat: no-repeat;
|
64
|
-
background-position: top left;
|
65
|
-
height: 64px;
|
66
|
-
}
|
67
|
-
#header h1, #header h2 {margin: 0}
|
68
|
-
#header h2 {
|
69
|
-
color: #888;
|
70
|
-
font-weight: normal;
|
71
|
-
font-size: 16px;
|
72
|
-
}
|
73
|
-
|
74
|
-
|
75
|
-
#about h3 {
|
76
|
-
margin: 0;
|
77
|
-
margin-bottom: 10px;
|
78
|
-
font-size: 14px;
|
79
|
-
}
|
80
|
-
|
81
|
-
#about-content {
|
82
|
-
background-color: #ffd;
|
83
|
-
border: 1px solid #fc0;
|
84
|
-
margin-left: -55px;
|
85
|
-
margin-right: -10px;
|
86
|
-
}
|
87
|
-
#about-content table {
|
88
|
-
margin-top: 10px;
|
89
|
-
margin-bottom: 10px;
|
90
|
-
font-size: 11px;
|
91
|
-
border-collapse: collapse;
|
92
|
-
}
|
93
|
-
#about-content td {
|
94
|
-
padding: 10px;
|
95
|
-
padding-top: 3px;
|
96
|
-
padding-bottom: 3px;
|
97
|
-
}
|
98
|
-
#about-content td.name {color: #555}
|
99
|
-
#about-content td.value {color: #000}
|
100
|
-
|
101
|
-
#about-content ul {
|
102
|
-
padding: 0;
|
103
|
-
list-style-type: none;
|
104
|
-
}
|
105
|
-
|
106
|
-
#about-content.failure {
|
107
|
-
background-color: #fcc;
|
108
|
-
border: 1px solid #f00;
|
109
|
-
}
|
110
|
-
#about-content.failure p {
|
111
|
-
margin: 0;
|
112
|
-
padding: 10px;
|
113
|
-
}
|
114
|
-
|
115
|
-
|
116
|
-
#getting-started {
|
117
|
-
border-top: 1px solid #ccc;
|
118
|
-
margin-top: 25px;
|
119
|
-
padding-top: 15px;
|
120
|
-
}
|
121
|
-
#getting-started h1 {
|
122
|
-
margin: 0;
|
123
|
-
font-size: 20px;
|
124
|
-
}
|
125
|
-
#getting-started h2 {
|
126
|
-
margin: 0;
|
127
|
-
font-size: 14px;
|
128
|
-
font-weight: normal;
|
129
|
-
color: #333;
|
130
|
-
margin-bottom: 25px;
|
131
|
-
}
|
132
|
-
#getting-started ol {
|
133
|
-
margin-left: 0;
|
134
|
-
padding-left: 0;
|
135
|
-
}
|
136
|
-
#getting-started li {
|
137
|
-
font-size: 18px;
|
138
|
-
color: #888;
|
139
|
-
margin-bottom: 25px;
|
140
|
-
}
|
141
|
-
#getting-started li h2 {
|
142
|
-
margin: 0;
|
143
|
-
font-weight: normal;
|
144
|
-
font-size: 18px;
|
145
|
-
color: #333;
|
146
|
-
}
|
147
|
-
#getting-started li p {
|
148
|
-
color: #555;
|
149
|
-
font-size: 13px;
|
150
|
-
}
|
151
|
-
|
152
|
-
|
153
|
-
#sidebar ul {
|
154
|
-
margin-left: 0;
|
155
|
-
padding-left: 0;
|
156
|
-
}
|
157
|
-
#sidebar ul h3 {
|
158
|
-
margin-top: 25px;
|
159
|
-
font-size: 16px;
|
160
|
-
padding-bottom: 10px;
|
161
|
-
border-bottom: 1px solid #ccc;
|
162
|
-
}
|
163
|
-
#sidebar li {
|
164
|
-
list-style-type: none;
|
165
|
-
}
|
166
|
-
#sidebar ul.links li {
|
167
|
-
margin-bottom: 5px;
|
168
|
-
}
|
169
|
-
|
170
|
-
.filename {
|
171
|
-
font-style: italic;
|
172
|
-
}
|
173
|
-
</style>
|
174
|
-
<script type="text/javascript">
|
175
|
-
function about() {
|
176
|
-
info = document.getElementById('about-content');
|
177
|
-
if (window.XMLHttpRequest)
|
178
|
-
{ xhr = new XMLHttpRequest(); }
|
179
|
-
else
|
180
|
-
{ xhr = new ActiveXObject("Microsoft.XMLHTTP"); }
|
181
|
-
xhr.open("GET","rails/info/properties",false);
|
182
|
-
xhr.send("");
|
183
|
-
info.innerHTML = xhr.responseText;
|
184
|
-
info.style.display = 'block'
|
185
|
-
}
|
186
|
-
</script>
|
187
|
-
</head>
|
188
|
-
<body>
|
189
|
-
<div id="page">
|
190
|
-
<div id="sidebar">
|
191
|
-
<ul id="sidebar-items">
|
192
|
-
<li>
|
193
|
-
<h3>Browse the documentation</h3>
|
194
|
-
<ul class="links">
|
195
|
-
<li><a href="http://guides.rubyonrails.org/">Rails Guides</a></li>
|
196
|
-
<li><a href="http://api.rubyonrails.org/">Rails API</a></li>
|
197
|
-
<li><a href="http://www.ruby-doc.org/core/">Ruby core</a></li>
|
198
|
-
<li><a href="http://www.ruby-doc.org/stdlib/">Ruby standard library</a></li>
|
199
|
-
</ul>
|
200
|
-
</li>
|
201
|
-
</ul>
|
202
|
-
</div>
|
203
|
-
|
204
|
-
<div id="content">
|
205
|
-
<div id="header">
|
206
|
-
<h1>Welcome aboard</h1>
|
207
|
-
<h2>You’re riding Ruby on Rails!</h2>
|
208
|
-
</div>
|
209
|
-
|
210
|
-
<div id="about">
|
211
|
-
<h3><a href="rails/info/properties" onclick="about(); return false">About your application’s environment</a></h3>
|
212
|
-
<div id="about-content" style="display: none"></div>
|
213
|
-
</div>
|
214
|
-
|
215
|
-
<div id="getting-started">
|
216
|
-
<h1>Getting started</h1>
|
217
|
-
<h2>Here’s how to get rolling:</h2>
|
218
|
-
|
219
|
-
<ol>
|
220
|
-
<li>
|
221
|
-
<h2>Use <code>rails generate</code> to create your models and controllers</h2>
|
222
|
-
<p>To see all available options, run it without parameters.</p>
|
223
|
-
</li>
|
224
|
-
|
225
|
-
<li>
|
226
|
-
<h2>Set up a default route and remove <span class="filename">public/index.html</span></h2>
|
227
|
-
<p>Routes are set up in <span class="filename">config/routes.rb</span>.</p>
|
228
|
-
</li>
|
229
|
-
|
230
|
-
<li>
|
231
|
-
<h2>Create your database</h2>
|
232
|
-
<p>Run <code>rake db:create</code> to create your database. If you're not using SQLite (the default), edit <span class="filename">config/database.yml</span> with your username and password.</p>
|
233
|
-
</li>
|
234
|
-
</ol>
|
235
|
-
</div>
|
236
|
-
</div>
|
237
|
-
|
238
|
-
<div id="footer"> </div>
|
239
|
-
</div>
|
240
|
-
</body>
|
241
|
-
</html>
|