Welcome Guest, Not a member yet? Register   Sign In
ActiveRecord, MySQL with DATE_SUB ... how?
#6

[eluser]cahva[/eluser]
Theres nothing wrong using DATE_SUB I think but I think its cleaner not to use it if you really dont need to use it Smile

The created2 column I got straight from your first post so dont blame me Big Grin I see that you created an alias for that in the earlier select so thats something to investigate why it wouldnt work. In common sense it should have worked. Maybe if you put generated query we could see whats that all about.


Messages In This Thread
ActiveRecord, MySQL with DATE_SUB ... how? - by El Forum - 10-04-2009, 11:12 AM
ActiveRecord, MySQL with DATE_SUB ... how? - by El Forum - 10-04-2009, 03:33 PM
ActiveRecord, MySQL with DATE_SUB ... how? - by El Forum - 10-04-2009, 04:20 PM
ActiveRecord, MySQL with DATE_SUB ... how? - by El Forum - 10-04-2009, 04:39 PM
ActiveRecord, MySQL with DATE_SUB ... how? - by El Forum - 10-04-2009, 04:44 PM
ActiveRecord, MySQL with DATE_SUB ... how? - by El Forum - 10-06-2009, 04:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB