When I start doing code on (see image below) rails I saw rails guide to getting start with it. There's a command rails db:migrate
for creating table and stuff. But its giving only warning and not creating any table.
Asked
Active
Viewed 165 times
1

cnnr
- 1,267
- 4
- 18
- 23

beerender singh
- 1
- 1
-
Hi. In fact, your screenshot clearly states that there are warnings, but also the migration did run through and create an articles table. – Philipp Meissner Apr 23 '20 at 06:35
-
then what is meaning of these warning? – beerender singh Apr 23 '20 at 06:36
-
You're using deprecated methods. That can be due to outdated gems or your code isn't up to date with the gem version you are using. – Philipp Meissner Apr 23 '20 at 06:40
-
thank you soo much for help – beerender singh Apr 23 '20 at 11:06
1 Answers
0
The code has executed successfully and there are no issues with it. The warnings are because either your code, or some of the gems you have used in the code contain some methods that are deprecated. If the warning comes from your code, try to fix them. If it is from any dependency, then watch for updates, keep the gems updated, or you can also write to the gem developer to fix these warnings.

Supraja Suresh
- 49
- 8