rubysherpas / r4ia

A place to file issues for Rails 4 in Action
2 stars 0 forks source link

can't get CoffeeScript changes to work #24

Open biophysicsguy opened 9 years ago

biophysicsguy commented 9 years ago

I have very carefully repeated sections 9.5.1 and 9.5.2 which involve the CoffeeScript changes. I have even copied the relevant files (creating_tickets_spec.rb and the tickets.coffee) from the chapter9-review branch from GitHub and keep getting:

1) Creating Tickets with multiple attachments Failure/Error: within("#ticket .assets") do Capybara::ElementNotFound: Unable to find css "#ticket .assets")

The problem is in this section of the scenario within("#ticket .assets") do expect(page).to have_content("speed.txt") expect(page).to have_content("spin.txt") end

I have even done a file compare between my project and the one in the chapter9-review branch and cannot seem to find the problem. (I have also gone through the other branches as well).

radar commented 9 years ago

Please only refer to the master branch. What is on the other branches is not important. It is the master branch and only the master branch which will be published.

On 4 Mar 2015, at 02:11, biophysicsguy notifications@github.com wrote:

I have very carefully repeated sections 9.5.1 and 9.5.2 which involve the CoffeeScript changes. I have even copied the relevant files (creating_tickets_spec.rb and the tickets.coffee) from the chapter9-review branch from GitHub and keep getting:

1) Creating Tickets with multiple attachments Failure/Error: within("#ticket .assets") do Capybara::ElementNotFound: Unable to find css "#ticket .assets")

The problem is in this section of the scenario within("#ticket .assets") do expect(page).to have_content("speed.txt") expect(page).to have_content("spin.txt") end

I have even done a file compare between my project and the one in the chapter9-review branch and cannot seem to find the problem. (I have also gone through the other branches as well).

— Reply to this email directly or view it on GitHub.

sevenseacat commented 9 years ago

Can you push your repository to Github so we can see your code?

biophysicsguy commented 9 years ago

I am doing computational physics at the moment so I don't have time to figure out how to do that. The attached zip goes to the end of chapter 9 with the bad lines commented out at the bottom of 'creating_tickets_spec.rb' file. I even replaced almost all of files with that found in the chapter9-review branch and it still didn't pass.
I know Ryan doesn't want me referring to anything other than the 'master' but it is old. Good luck.

On 3/3/2015 7:01 PM, Rebecca Skinner wrote:

Can you push your repository to Github so we can see your code?

— Reply to this email directly or view it on GitHub https://github.com/railsbook/r4ia/issues/24#issuecomment-77076657.

idoan commented 9 years ago

Hi there rayn, I keep checking both your twitter account and github public activity feed just to see a clue for the release date of the updated 4.2 r4ia book. Can you give a date estimate for those like me in your twitter account, please? In a week, in a month, in 6 months ? Thanks.

radar commented 9 years ago

@comptrol: if it was up to me it would've been published already, and only in digital format. The book is 98% complete. It's not up to me, it's up to Manning. Go and ask them.