Creating links can be confusing if you are just starting to learn Rails. It is important to understand how your views, controllers, and routes are connected. If you already have an app you are working on, simply type: $rake routes This command will let you see all your routes, how your views connect to your […]
Tag Archives: web development
Bootstrap it: Forms For your Route to personal Validations (or Creating a Simple Newsletter Signup Form with Ruby on Rails)
Okay, now that we have our Rails files all set up, let’s dive in file by file. Click to enlarge. Routes.rb tells the application what controller and method should be used when it receives a URL request. In the example above, when the application receives a request via URL, for the root or homepage of […]
Step 0: HTML/CSS/JS and basic tools 1~2 weeks
What exactly is node.js? Is it a command-line tool, a language, the same thing as Ruby on Rails, a cure for cancer?
If you’re new to web development, it can be a bit confusing as to what exactly node.js is and to what you should do with it, and there’s a lot of information out there…most of which seems to be tailored towards genius-level developers.
So, here’s a node.js introduction for those who have no idea what it is.
To wrap it up, we’re going to spin up a quick web server in node.js just to show you how easy it is.
Now, learn how to build an Express.js App!