Fairly Noobish question: I know that activerecord deprecated a bunch from rails 2 to rails 3. I have seen pages like this, that can explain how complicated strings can be replaced by User.where(etc etc etc.
However, what would be the now functioning solution for a simple replacement? Given a class “User”, how would I update User.find[:all] for rails 3 activerecord?
If you want to find all users you can do it this way
or scoped method where you have applied your default_scope if you are using it
or unscoped method where you skip the default_scope