Displaying 5 results from an estimated 5 matches for "dmeharri".
Did you mean:
dmeharry
2006 May 03
6
Scaffold Generation Problem
Greetings all,
I''m sure there is probably a very obvious reason for the following
problem. However, after much hair pulling, I am just not seeing it yet.
As you can see from the trace below, I am not able to complete scaffold
generation due to some problem between rails and mysql. I double
checked MySQL to make sure both my Ruby user and Root user have full
rights to the database.
2006 Aug 09
11
Query Offset Parameter problem
Greetings,
I''m trying to make a simple logging application that just displays the
last few rows of information in the log. In order to do this, I am
trying to use the ":offset" option for find. However, I am not getting
the results I expect.
For testing purposes, the query is being run against a table (MySQL)
that contains 11 records. According to the RoR documentation,
2006 May 03
0
Testing Observers
Greetings all,
As a Noob, I''ve been diligently working my way through the AWD4R book
and finally arrived at the part about observers -- which BTW I think are
very cool tech. Anyhow, I got the Audit Observer working. Now I want
to test it and perhaps examine it''s attributes and methods to make sure
it does what is expected of it.
For example, one thing I would like to do
2006 May 09
2
Computing very large exponents
Greetings all.
Does anyone have a clue how to use Ruby to do modular exponentiation
using the binary left-to-right method? I looked through the
documentation and searched the forums and found the String.each_byte
method. However I had no luck finding anything showing how one might
manipulate bits of bytes.
Below is an example of what I am talking about.
The calculation a = b^e mod n (or
2006 Aug 10
5
Ampersand Heartburn
Greetings all.
I''m using the Microsoft "NorthWind Traders" database "orders" table as
test data for the Rico LiveGrid JavaScript.
The problem I''m noticing is that some of the records in the "ShipName"
field contain ampersands -- which for some reason are not being escaped
by Rails.
Rails does in fact automatically escape all of the other