search for: defreyne

Displaying 4 results from an estimated 4 matches for "defreyne".

Did you mean: defreese
2006 Aug 06
1
Sorting through relationships
...similar to this: has_many :assets, :order => ''game.title'' That doesn''t seem to work. A possible solution is to fall back to SQL. However, I''m wondering whether there is a ''native'', no-SQL ActiveRecord way to do this. Regards, Denis Defreyne -- mail: denis.defreyne@stoneship.org web: http://stoneship.org/
2006 May 23
1
Extension to book login code: list of online users?
...logged in users. My idea is to the list of sessions. However, many sessions seem to be outdated. I believe the best way would be to get a list of sessions that have been active in, say, the last 15 minutes. Question is: how can I do this? Any hints would be greatly appreciated. Regards, Denis Defreyne -- Posted via http://www.ruby-forum.com/.
2006 Aug 06
6
Having Problem w/ Agile Web Development book
I get this error ... NoMethodError in StoreController#index undefined method `salable_items'' for Product:Class and here is my store_controller.rb ... class StoreController < ApplicationController def index @products = Product.salable_items end def self.salable_items find(:all, :conditions => "date_available <= now()", :order => "date_available
2006 May 23
2
TextMate and Tabs
Hello Everyone ~ Recently I have been moving Rails files between Mac, Linux, and Windows. As many know the Windows Ruby version 1.8.4 doesn''t like tab characters. I know in TextMate on the mac you can replace your tabs with spaces from the Text > Convert menu, but is there a way to set it to do tabs with spaces instead as you work? The preferences do not seem to have such a