search for: jnhwcbcqwwtx3z9c7zyw2w

Displaying 3 results from an estimated 3 matches for "jnhwcbcqwwtx3z9c7zyw2w".

2005 Apr 27
4
has_many syntax
Hi all, I have the following inside of an AR class definition: relationships=ActiveRecord::Base.connection.select_all(my_relationships_sql) relationships.each do |relationship| has_many RelatedItems, :class_name => relationship[''RelatedClass''], :foreign_key => relationship[''ForeignKey''] end This kind of works, but how can I assign the name of the
2005 Mar 16
1
Is there an opposite of Inflector.Camelize
Or to put it another way, is there a function f, such that Inflector.f(Inflector.Camelize(x)) = x ? Enquiring minds need to know. Adelle.
2005 Mar 10
1
Running unit tests on SQL Server
Hi everyone, It''s been more than a month since I last fired up Ruby or ActiveRecord, so imagine my surprise when, after getting the latest source and running the unit tests for MySql, I was greeted with a screen full of errors. I''ll come back to the MySql errors later. What follows is the output I get when I run the tests for SQL server. I installed ruby with the one-click