search for: ffaa

Displaying 6 results from an estimated 6 matches for "ffaa".

Did you mean: ffa0
2005 Nov 22
3
Idiom for submit button?
What is the rails idiom for submit buttons on forms? All other field types have helpers, but button_to creates its own form, so should not be used. I''ve looked in "Agile Web Dev. with Rails" but can''t see what I should do instead. Is this "difficult" because it runs counter to AJAX type forms? And, related, is there a way to ensure that hitting return in
2007 Sep 07
7
Rails VERY slow on Vista
When I try to script/generate something I have to wait above 2 minutes befor I get result. Is there some way to fix this? I have Intel Core 2 Duo 6420 with 2GB RAM. On my Slackware Duron 800 MHz it takes about 45 sec... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to
2005 Dec 13
4
find()ing rows w/ NULL columns?
Agile Web Development with Rails doesn''t seem to have NULL in the index [or my eyes have failed me again], and web searching turns up lots of SQL statements containing NOT NULL. I have a table of loans, and I want to record when something was loaned and returned. The loan date can''t be null, or there''d be no entry in the table. The return date must be something
2005 Nov 22
2
Error messages: relative paths seem weakly handled?
I create my rails app, with modifications to the default from a script. Having had to upgrade rails once, and knowing that this is likely to happen again because of the rapid updating of rails, it seems the most sensible way to do it. As a result, I often do /bin/rm -rf csestore and then run my script from another window to repopulate it. So naturally, to save having to cd into csestore, and
2007 Jul 12
0
[retry] fixture_references: "Mysql::Error #HY000"? (fwd)
I''m resending this with additional information, as I''ve had no response. I''ve been trying to use the fixture_references plugin, and I seem to be getting lots of: 1) Error: test_truth(DeviceTest): ActiveRecord::StatementInvalid: Mysql::Error: #HY000Field ''description_id'' doesn ''t have a default value: INSERT INTO devices (`id`) VALUES (2)
2005 Nov 23
15
:conditions => ... formatting
With code like: if @params[:pnumber] =~ /\s*p?(\d+)\s*/ if student = Student.find_first(:conditions => ["pnumber like \":pnumber%\"", {:pnumber => $1}]) @borrower = student elsif emp = Employee.find_first(:condiwions => ["pnumber like \"?\"", {:pnumber => $1}]) @borrower = emp else