Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

able to use with rails 4.2.1 too #659

Open
wants to merge 1 commit into
base: rails4
Choose a base branch
from

Conversation

mpakus
Copy link

@mpakus mpakus commented May 14, 2015

No description provided.

@yan-hoose
Copy link
Contributor

Since there is a bug in Rails 4.2 that causes Forem to double-increment views, I don't recommend to use Forem with Rails 4.2 until that bug is fixed (#640).

If you are fine with that, go ahead! 😄

@radar
Copy link
Collaborator

radar commented May 17, 2015

I am not fine with having Forem support a version of Rails with a known regression. Therefore I won't be accepting this PR until Rails 4.2.2 is released.

@senych-vitalii
Copy link

hey @radar Rails 4.2.2 is already released, can you accept PR?
Currently I cannot use Forem without this fix because I use 4.2.1 version of Rails...

@radar
Copy link
Collaborator

radar commented Jun 19, 2015

Does 4.2.2 contain the specified patch or is it just security releases?

On 19 Jun 2015, at 19:43, Vitaliy Senich [email protected] wrote:

hey @radar Rails 4.2.2 is already released, can you accept PR?


Reply to this email directly or view it on GitHub.

@senych-vitalii
Copy link

@radar it seems not...
Sorry, I missed that counter is working in 4.2 version and is not working in 4.2.1.

@yan-hoose
Copy link
Contributor

Actually counter caches are broken in all of Rails 4.2 versions. Forem Rails dependency should be

s.add_dependency 'rails', '~> 4.0', '< 4.2'

instead of

s.add_dependency 'rails', '~> 4.0', '<= 4.2'

@radar
Copy link
Collaborator

radar commented Jun 20, 2015

I'm fine with leaving the dependency as it is now. If people complain about the counter cache issue, we can point them to this issue.

@edmondchui
Copy link

The counter issue is fixed in Rails 4.2.4. Could you please update the dependency to Rails 4.2.4, 4.2.5, and above? Thanks.

@sintro
Copy link

sintro commented Feb 7, 2016

The counter issue is fixed in Rails 4.2.4. Could you please update the dependency to Rails 4.2.4, 4.2.5, and above? Thanks.

Is not it already updated?

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.

6 participants