Rails Routing

Routing Types are simple, default and root. Simple An example would be like:                   get “demo/index”which is a shortcut for                    match “demo/index”, :to => “demo#index” this is saying when you get a request to go to: demo/index, to send to the controller#action (i.e. demo#index.) DefaultThis separates the controller action and Continue Reading

Rails Basic’s Notes

So what is rails?it’s a web app framework for ruby’s That means it’s a set of code libraries that can provide general functionality that can be used, and reused. It also has default values built in and flow controls.  Libraries usually don’t set default values. Rails uses MVC Architecture  MVC Continue Reading