O
O
Oleg2016-01-08 23:30:54
Ruby on Rails
Oleg, 2016-01-08 23:30:54

Documentation issues. Is the Rails locomotive not moving, or is the driver bad?

Hello! Not so long ago, I started studying RoR, took courses at Codecademy, read Agile Web Development with Rails, and everything seems to be clear - models are in their place, controllers are in their place.
BUT, when I try to find documentation, for example, on migration, and specifically on types (:primary_key, :string, :text, :integer, etc.), I run into a dead end: on api.rubyonrails, a person who is just learning RoR can do this almost impossible, the types are not listed in the guides either. By request, Google gives an answer to stackoverflow, and scrolling down you can find a link to the api page , and somehow everything is also crooked there
. Maybe I don’t understand something obvious in how the documentation in rails is structured?
It just looks VERY WILD after the documentation for other products. How do I get used to looking for information: I go to the office. site => Documentation => open the desired section => get information.
For example, I go to the SQLAlchemy docks and see the section - Datatypes;
I go to the Django docks and see - Models: Field types. Everything is structured and understandable. I choose the right section and study.
Please explain how to get information when studying RoR? The language and the framework are magical, of course, but the problems with learning the first time are such
UPD: Looks like I joined the party...
Just go to github.com/rails/rails and look at the source 〜( ̄▽ ̄〜)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
raventid, 2016-01-09
@makyo

My version is rubyonrails.org/documentation
If you need to read something in general terms (models, views, controllers, sockets), then you need to look in guides, they are very detailed.
If you need even more detailed information, then you need to look at the api. (for example, I want to get detailed information about migrations, in the search on the top left of api.rubyonrails.org I write migration and select ActiveRecord::Migration)
Well, the last resort is the Rails source code

B
Blah Blag, 2016-01-09
@dsadasdad

Go relax. Eat the heifer, calm down, smoke marijuana and drink some cognac, and then sit down with a sense of proper alignment and start studying the rails and you will immediately understand everything

V
vsuhachev, 2016-01-09
@vsuhachev

Use google, Luke
For example, to your question on data types, we google the request rails migration datatypes and we get the answer in the first link

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question