39
loading...
This website collects cookies to deliver better user experience
I haven't heard of it, is anyone even using it?
and my response used to be a list of applications that people are using every day that is running on Ruby on Rails. So here is a brief list:Rails is a "batteries included" framework
rails new <project_name>
), it is created with a directory structure that you will always find handy to put stuffs into. Convention over Configuration
. Even when the project grows large you will know where to find what. Any new people can get going with a Rails project in no time.rails generate model <model_name>
or even shorter rails g model <model_name>
User.create(<parameters>)
class Post < ApplicationRecord
belongs_to :user
has_many :comments
validates_presence_of :title
end