You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sites/en/intro-to-rails/rails_architecture.step
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,8 @@ explanation {
22
22
23
23
h3 "Model"
24
24
message <<-MARKDOWN
25
-
* For all the Models we create in RailsBridge, Model objects have a corresponding record in the the database. The name of the table in the database is the plural version of the Model's class name. For example, if the Model is called 'Duck', it will automatically query or write to the 'ducks' table in the database.
26
-
* Methods internal to Rails make it easy to automatically write records to the the database and query the database to get the records again later.
25
+
* For all the Models we create in RailsBridge, Model objects have a corresponding record in the database. The name of the table in the database is the plural version of the Model's class name. For example, if the Model is called 'Duck', it will automatically query or write to the 'ducks' table in the database.
26
+
* Methods internal to Rails make it easy to automatically write records to the database and query the database to get the records again later.
27
27
* The Model is a bridge between the database and your application's code.
Copy file name to clipboardExpand all lines: sites/en/job-board/create_a_rails_app.step
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ message <<-MARKDOWN
41
41
(You must have at least one window open, so if that option is greyed out, open a window with cmd+n (Mac) or ctl+n (PC))
42
42
MARKDOWN
43
43
44
-
discussion_box "Text Editor vs Command Line", "Review the differences between the the command line and your text editor, even if everyone already knows!"
44
+
discussion_box "Text Editor vs Command Line", "Review the differences between the command line and your text editor, even if everyone already knows!"
Copy file name to clipboardExpand all lines: sites/en/job-board/store_jobs_in_the_database.step
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ RUBY
48
48
message <<-MARKDOWN
49
49
Running this code will make a table in our database called jobs. Right now it just has the timestamps (`created_at` and `updated_at`). What else should a job have? Let's start with a title and description.
50
50
51
-
Add the the title and description so it looks like this:
51
+
Add the title and description so it looks like this:
Explain differences between text editor vs. word processor.
21
21
Have group open editor, create and save file with explanation of how and where files are stored.
22
-
Explain file extensions and file types. File types tell the editor how to color the special words in each language.
22
+
Explain file extensions and file types. File types tell the editor how to color the special words in each language.
23
23
Explain difference between the buffer (in the editor’s memory) and the file (stored on disk). Emphasize the importance of saving the buffer to a file before trying to run it with ruby.
24
24
Compilers, Interpreters and Programming Languages:
25
25
Use metaphor of programming language as an agreed set of rules about syntax for writing source code that is sent to the interpreter and translated into byte code.
@@ -44,10 +44,10 @@ Explain ‘method calls’.
44
44
Explain to group the important of strings and review string operations. Have group work with strings in IRB.
45
45
IRB Console:
46
46
Have group open IRB console and create objects, method calls and variable assignments.
47
-
Tie in lecture above on Objects, Methods, Variables with exercises in IRB that allow students to see results line-by-line.
47
+
Tie in lecture above on Objects, Methods, Variables with exercises in IRB that allow students to see results line-by-line.
48
48
Have group query classes for their methods in IRB.
49
49
HTTP:
50
50
Lead group exercise in using telnet to query Wikipedia, make GET request and view response in command line, then compare to view source of same page in browser.
51
51
Sinatra Application
52
-
Lead group exercise in writing Sinatra application and run it locally. “Hello, Web!”
53
-
Extend to add “the time is Sun Mar 27 09:44:09 PDT 2011” using `date`.
52
+
Lead group exercise in writing Sinatra application and run it locally. “Hello, Web!”
53
+
Extend to add “the time is Sun Mar 27 09:44:09 PDT 2011” using `date`.
0 commit comments