similar to: Routes recognition problem

Displaying 10 results from an estimated 10 matches similar to: "Routes recognition problem"

2006 Apr 17
0
One model class per file?
Hi Everyone, I''m fairly new to Rails, needless to say i like it! Sometimes though, there is a little too much magic going on inside, but i''ll finally like that too once i know all those magic tricks :) Now my question: I have quite a lot of tables in my db (something above 300) and it seems to me rails wants each model class in its own file? I come to this conclusion because of
2006 Jan 14
0
testing template components
Hi, I''m plowing through the template section of "Agile Rails", specifically the stuff starting on P. 364. What is a good strategy for testing components? My initial thought is to mimic the Rails application "test" directory. No problem. Next copy the setup method, and set it up like so - class SidebarControllerTest < Test::Unit::TestCase def setup
2006 Apr 27
5
Realtime Form Validation Plugin Available
Granted, I''m still very much a newbie, but after reading an article on AJAX that basically states at one point that just because you can use AJAX doesn''t always mean you should, I have to ask: Why bother contacting the server (even if it is an insignificant amount of bandwidth) to validate the sanity of form data (unless you''re actually validating against something in
2005 Feb 16
0
mke2fs options for very large filesystems (and corruption!)
[sorry if this isn't threaded right... I just subscribed] Theodore Ts'o wrote: > > There are two reasons for the reserve. One is to reserve space on the > partition containing /var and /etc for log files, etc. The other is > to avoid the performance degredation when the last 5-10% of the disk > space is used. (BSD actually reserves 10% by default.) Given that > the
2006 Jun 17
2
how to delete a parent record and child records?
Wow, got myself lost as *soon* as I left the hand-holding exercises in the books. I''m trying to set it up so when I click the (scaffold-generated) ''destroy'' link on one (of a list) of parent MySQL records, the children records in a different table get deleted also. Very simple setup: my tables are ''customers'' and ''accounts'' class
2005 Mar 21
0
Cdr_odbc asterisk 1.0.6
Asterisk Ready. *CLI> -- Executing route("SIP/7408-02e3", "370263") in new stack -- odbcquery: query=370263 > Query = 370263 : SQLcmd = select routing, ring_timer from ddi_pool where ddi_inbound = '370263' Urgent handler > app_route: Query Successful! -- Varname= 55 -- odbcquery: set route 721017101 -- odbcquery: set timer 15
2006 Jun 28
4
argument out of range...
Hi... I''ve a problem with this : [code] def fir_tahiti @notams=Array.new Notam.find_all_notams().each do |notam| @notams.push(notam) if (to_secs(notam.debut)<Time.now.to_i and to_secs(notam.fin)>Time.now.to_i) end end def to_secs(str = nil) Time.gm(2000+str[0..1].to_i, str[2..3].to_i, str[4..5].to_i, str[6..7].to_i, str[8..9].to_i).to_i if str end [/code] It tells
2005 Nov 12
2
undefined method `protocol' for nil:NilClass
Hi! This may have been answered somewhere before, but my searches turned up nothing. I am developing a Rails app that generally works, but just generated a new controller ("list" controller), did not add anything, and when I go to http://localhost:3000/list/ I receive an error. It appears that the page was properly generated, but somewhere preparing the result raised this
2013 Jul 31
29
[PATCH 0/9] tools: remove or disable old/useless/unused/unmainted stuff
depends on "autoconf: regenerate configure scripts with 4.4 version" This series removes some of the really old deadwood from the tools build and makes some other things which are on their way out configurable at build time with a default depending on how far down the slope I judge them to be. * nuke in tree copy of libaio * nuke obsolete tools: xsview, miniterm, lomount & sv *
2006 Jul 06
12
kernel BUG at net/core/dev.c:1133!
Looks like the GSO is involved? I got this while running Dom0 only (no guests), with a BOINC/Rosetta@home application running on all 4 cores. changeset: 10649:8e55c5c11475 Build: x86_32p (pae). ------------[ cut here ]------------ kernel BUG at net/core/dev.c:1133! invalid opcode: 0000 [#1] SMP CPU: 0 EIP: 0061:[<c04dceb0>] Not tainted VLI EFLAGS: 00210297 (2.6.16.13-xen