• A common problem in many projects is the inability to control the structure of the database using understandable means and tools. Changes to the structure are often made manually and directly into the database. Because of this, numerous incomprehensible fields and tables appear in the project, about which no one remembers anything. Ruby on Rails has standard database tools - "migrations". The database structure is stored in the application code and configured from the project. Your structure will always be in the repository, any change in the structure will be documented and linked to a specific commit in the repository.




    Ruby on Rails is heavily tuned for project security by default. When using RoR tools, SQL injections and XSS attacks are excluded. All input parameters are escaped by default. Inferred variables in templates are also escaped unless you specify the reverse option. There is no chance for a developer to make security mistakes (not without exceptions, of course).

    votre commentaire


    Ruby on rails has some great tools that allow you to validate incoming data. Your users are filling out forms and you need to check if they entered the correct email address, if they have a password, or if they need a minimum login length—the Rails tools will help you with this.


    Routing (beautiful urls or CNC)


    Often in many PHP projects, we can see a picture when the address of a certain page is huge and incomprehensible. Ruby on Rails has a regular ability to flexibly customize your routing, address type, and the names of the main sections. It is possible to quickly change addresses in one place without having to change that address throughout the project. The REST ideology is actively used in the RoR developer community. Page addresses in Ruby on Rails projects are always clear, beautiful, perfectly understood by search engines, and simple.

    votre commentaire

    Suivre le flux RSS des articles
    Suivre le flux RSS des commentaires