Recent Posts
|
11 Jun 2013, 07:52
Javier Acero (2 posts) |
I am doing the exercises on section 6.1 (the
When I run it doing:
It works like a charm. But, when I start
Any idea why? I am running elixir 0.9.1 in case it helps. Thanks! |
|
11 Jun 2013, 00:08
Martin W. (3 posts) |
(from Agile Web Development with Rails 4 > A1 Action Controler -> Migrations are pending; run 'rake db:migrate RAILS_ENV)
Hi Sam, rails40/depot_a/db/migrate/20121130000001_create_products.rbjust to see if it would work. and before I started over again I deleted the folder depot completely. What you mean with delete both? thank you very much. |
|
10 Jun 2013, 20:50
Daniel Sauter (39 posts) |
Hi Mark, |
|
10 Jun 2013, 16:48
Alfonso Muñoz-Pomer Fuentes (3 posts) |
The problem with changing the hash symbol is that certain tools like I don’t think it’s a good idea to switch to a yet-again different syntax instead of sticking to what it’s now widely accepted and understood in the Ruby community. I didn’t skip the usage explanation, but I rarely skip text. The box sounds like a good idea. |
|
10 Jun 2013, 16:45
Alfonso Muñoz-Pomer Fuentes (3 posts) |
In ‘Chapter 3’ (page 30 in the PDF version) |
|
10 Jun 2013, 13:43
Sam Ruby (567 posts) |
(from Agile Web Development with Rails 4 > A1 Action Controler -> Migrations are pending; run 'rake db:migrate RAILS_ENV)
I can’t explain how you got to this state, but explaining these messages may help. What rails is comparing is the contents of db/development.sqlite3 against the directory db/migrate. If you are starting over, it probably would be best to delete both. |
|
10 Jun 2013, 11:38
Silvia Domenech (29 posts) |
Oh, I think that had been updated in Beta 2.0. If you want, you can download the newest code files (here) and try to run those. Silvia |
|
10 Jun 2013, 02:05
Andrew Davis (11 posts) |
I haven’t tried to put it back in, but you’re right. “setGravity” was being called before physics.start. At least according to the book’s source code, so might want to update that. Thanks again for the help! |
|
10 Jun 2013, 00:38
Silvia Domenech (29 posts) |
Hi Andy, Wow, I didn’t know that disabling gravity that way caused problems on some phones. Some people got errors when using setGravity() before physics.start(), but I had not seen setGravity cause any problems when setting it to zero. I am delighted that it’s finally working on your phone! Silvia |
|
10 Jun 2013, 00:36
Martin W. (3 posts) |
(from Agile Web Development with Rails 4 > A1 Action Controler -> Migrations are pending; run 'rake db:migrate RAILS_ENV)
Hi, I just got stuck at A1 somehow. I deleted the depot folder after a typo and did the setup again. Could you please point me in the right direction? environment: |
