Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Rails 4.0.0.beta1 compatibility #102

Closed
wants to merge 11 commits into from
Closed

Conversation

byroot
Copy link

@byroot byroot commented Feb 26, 2013

  • Update dependencies
  • Get rid of observers tests (I tried to use rails-observer gems but it was a mess)
  • Update deprecated calls like #scope or #default_scope without block
  • Get rid of attr_protected call and tests
  • Get rid of AR#destroy! NoMethodError test

The last one cause issue because in AR 4 #destroy! bang is defined.
It's the same as #destroy but raise an AR::RecordNotFound if the record
is not present in database.

It may be smart to find another name for this method. But for now it just works.

chuckg and others added 3 commits February 24, 2013 15:38
Updated README. Fixed assocciation example as it was outdated and broken
- Update dependencies
- Get rid of observers tests (I tried to use rails-observer gems but it was a mess)
- Update deprecated calls like #scope or #default_scope without block
- Get rid of attr_protected call and tests
- Get rid of AR#destroy! NoMethodError test

The last one cause issue because in AR 4 #destroy! bang is defined.
It's the same as #destroy but raise an AR::RecordNotFound if the record
is not present in database.

It may be smart to find another name for this method. But for now it just works.
@aaronchi
Copy link

👍

@yuki24
Copy link

yuki24 commented Mar 19, 2013

@byroot, @goncalossilva, please review the PR I just sent: byroot/pull/1

byroot and others added 3 commits March 19, 2013 05:34
belongs_to_with_deleted should pass scope to belongs_to_without_deleted
don't save when destroying a non persisted object
@taylorbrooks
Copy link

+1

@lesyk
Copy link

lesyk commented Jun 12, 2013

+1

Rails 4.0.0.beta1 compatibility?
Yesterday Rails 4.0.0.rc2 was introduced.

@atipugin
Copy link

+1, any news on it?

@goncalossilva
Copy link
Owner

@byroot Now that Rails 4 is out, would you be willing to fast-forward your changes and ensure everything works so that me or @chuckg can take a look at it?

@XORwell
Copy link

XORwell commented Jul 1, 2013

+1

2 similar comments
@Curter29
Copy link

+1

@nzaillian
Copy link

+1

@christopherchiu
Copy link
Collaborator

Hi guys, I'm going to be actively working on getting this gem compatible with Rails 4. I'm still getting through all the pull requests and issues but I'll keep you guys updated.

@hamadmj
Copy link

hamadmj commented Aug 28, 2013

+1

Zachary Scott and others added 2 commits November 14, 2013 12:14
@chrismhilton
Copy link

+1

@chrismhilton chrismhilton mentioned this pull request Dec 2, 2013
@RobinClowers
Copy link

@christopherchiu any word on this? I'm working on upgrading an app to 4 and I'm not sure which fork to use. Anything I could do to help?

John Kelly and others added 2 commits April 30, 2014 11:43
@zzak
Copy link
Contributor

zzak commented May 25, 2014

We're working on this separately, and will be cherry-picking some of these commits separately.

I'm going to close this since its still WIP.

@zzak zzak closed this May 25, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet