Displaying 9 results from an estimated 9 matches for "bofbd8meu8lgvelup".
2005 Dec 29
9
Single Table Inheritance
Hi all,
Quick question for STI. With the following setup:
class Company < AR::Base; end
class Firm < Company; end
Why does Firm.find(:all) return all Companies, not just those that have
type==''Firm''?
--
Alex
2005 Dec 19
2
Unit/Functional testing for AJAX functions?
I really have no more input than that, so the subject speaks for
itself. How do you test that AJAX effects shown in the browser are
actually happening? Maybe an auto-complete form field is a good
starting example.
Sean
2005 Oct 13
0
Re: mySQL command line within rails - access denied?
-- Alex Young <alex-qV/boFbD8Meu8LGVeLuP/g@public.gmane.org> wrote:
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>&...
2005 Dec 29
3
migrations
I''m trying to understand migrations and here is my problem, lets take
this example code from the API docs for migration. This code creates a
table then adds a new row to it, my problem is how can this add a row
to the table if the model doesn''t exist and how can you create a model
if the table doesn''t first exist. Can the migrations also be told to
create a model for a
2005 Oct 13
2
Re: mySQL command line within rails - access denied? [solved]
--- Alex Young <alex-qV/boFbD8Meu8LGVeLuP/g@public.gmane.org> wrote:
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>&...
2005 Sep 16
5
Table belongs_to self - good idea?
Hi,
I have a somewhat complicated relationship question. I''ve been banging
my head about this for some time and have given in and decided to ask
the list :)
Here''s what I''m trying to achieve:
Products can have variants. For example, a t-shirt could come in
small, medium and large, but also black, green and blue in the first
two sizes, but only blue in large.
2005 Nov 18
7
[OT] Shared hosting for Rails projects
To much of my dissapointment, the uptime on my TxD account does not
improve.
What alternatives do we have for hosting Rails projects on shared
accounts? I would love to keep lighttpd and the level of control I
have on TxD but wouldn''t like to spend much more (I am currently on
the 25$/month plan).
I won''t need much support, but I would love to have subversion
2005 Dec 15
4
Acts_as_tree and routing
I''ve got an acts_as_tree structure which I want to be able to represent
in the URL, with one field identified as the url component. In other
words, if I''ve got this:
def self.up
create_table :nodes do |t|
t.column :parent_id, :integer
t.column :tag, :string
end
end
and
class Node < ActiveRecord::Base
acts_as_tree
end
and what I want the urls to be is something
2006 Mar 17
12
Exception in Javascript console in Firefox 1.0.7
Has anyone else seen this?
Error: uncaught exception: [Exception..."Component returned failure
code: 0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)
[nsiXPCComponents.lookupMethod]" nsresult: "0x80570009
(NS_ERROR_XPC_BAD_CONVERT_JS)" location:"JS frame ::
chrome://global/content/XPCNativeWrapper.js :: anonymous :: line 91"
data: no]
I got that output to the