Skip to content

Conversation

@tomasdundacek
Copy link
Contributor

Since this code was previously merged, Rails has changed and currently
(at 4.2) this code has not been working in controllers, because the
condition was true also for capture method from Kernel::Reporting module
from Rails.

Since this code was previously merged, Rails has changed and currently
(at 4.2) this code has not been working in controllers, because the
condition was true also for capture method from Kernel::Reporting module
from Rails.
@andrew
Copy link
Member

andrew commented May 16, 2015

Looks good, thanks @tomasdundacek, will this break support for older versions of rails? It looks like the tests are passing on all versions, but they were also passing on rails 4.2 before hand.

andrew added a commit that referenced this pull request May 16, 2015
Don't check for capture presence in ab_test
@andrew andrew merged commit 5fb05b6 into master May 16, 2015
@andrew andrew deleted the dont-use-capture-helper branch May 17, 2015 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants