Displaying 6 results from an estimated 6 matches for "stoneship".
2006 Aug 06
1
Sorting through relationships
...ets, :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 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
2008 Nov 28
2
Webgen as a backend for a end-user friendly CMS?
Hi all,
I just had the idea of using webgen as a backend for an end-user
friendly CMS. Such an end-user would for example be someone who has no
programming or computer skills that go beyond using M$ Word. After
logging into a friendly, graphic-based admin area of the website (e.g.
PHP or Ruby-based), he/she can easily create, change, delete menu nodes,
text content, and do a lot of other
2007 Sep 07
7
Simple websites (no DB?) with Rails??
I have been learning Rails and building small things over the last
several months. Question I have that has been surprising difficult to
figure out is this (I know it seems somewhat nonsensical but ignore
that). I recently started getting a few requests for basic website to
be built, small businesses, stores, even individual people. How would
one about doing such a thing using Rails? I may not
2006 May 23
1
Extension to book login code: list of online users?
Hi.
I''ve been, fruitlessly, trying to extend the login code from the Agile
book. What I''m trying to do, is create a list of 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