#897: check for the :conditions/:order option availability instead of checking rails' version so the deprecated :conditions way will work in rails 4 also