search for: count_limit_associ

Displaying 2 results from an estimated 2 matches for "count_limit_associ".

2006 Feb 28
5
Problem with paginate, include and foreign keys
Hi all, Solaris 10 Ruby 1.8.4 Rails 1.0.0 Postgres 8.1 postgres driver 0.7.1 I''m having a problem with getting paginate() to properly pick up an FK constraint properly. I don''t seem to have this issue with ActiveRecord, however. Consider: create table start_dates ( id bigserial, start_date date unique, max_slots int default 40, primary key (id) ); create
2008 May 15
1
How to monkeypatch in a plugin
Hi all, I''m working on a plugin that enables automatic profiling and benchmarking for unit tests. I need to monkeypatch Test::Unit::TestSuite to redefine the run method. Based on the example I see at http://svn.jthopple.com/plugins/count_limit_associations, I thought I should be able to simply open the class in question in /lib/profile_tests.rb, e.g. module Test module Unit class Suite def run puts "My Run Method Used" ... In init.rb, I simply have require ''profile_tests'' However, runn...