Displaying 6 results from an estimated 6 matches for "0.031000".
Did you mean:
0.001000
2006 Jul 20
4
Help with Rails and postgres with sequence numbers (global?)
Hello,
I am building an Rails applications that has to integrate an legacy
system (lxoffice) (schema at:
http://www.lx-office.org/uploads/media/DB_Schema_2.1.1_R_393_17_03_2005_.pdf).
They somehow use global ids (global for some tables). I can not change
the schema and still I want to use Rails to access it and not pure SQL.
When I try to insert a record I get the following message:
2007 Apr 24
1
problem POSTing with curl and REST using scaffold_resource
I issued the following curl command to post to the database using
REST:
curl -i -X POST -d "<heartrate><heartRate>102</
heartRate><sessionID>1002</sessionID><timeStamp>15068</timeStamp></
heartrate>" http://localhost:3000/heartrates
I have tested the GET (with curl also) and it works fine!
curl http://localhost:3000/heartrates/45
2007 Mar 30
7
Some additional attacks on Cookie Session
Aside from the replay attacks discussed, there are some other attack
vectors on the cookie_session store.
I appreciate (and admire!) Jeremy''s good humor on all of this:
> Planting the seed here led to quick ripening and plenty of pesticide.
> Thanks for the fish, all.
>
> jeremy
Anyway, here''s what we came up with:
1. Brute Force
SHA512 can be computed _very_ fast.
2007 May 04
5
Something wierd with .save method
Hi,
I have a very sime app.
I need to create as many records in the db as the selected
checkboxes (named :isselected) in the view.
Here is the code snippet from the controller:
isselectedhash = params[:isselected]
for mod in isselectedhash.keys
@issue = Issue.new(params[:issue])
@issue.state = ''NEW''
@issue.mod_id = isselectedhash[mod] # this gets
2005 Mar 10
0
Need Help with Flaky FastCGI on Windows
Hi Everyone -
I have a rails 0.10.1 application deployed on a Windows 2003 server
under XAMPP Lite 1.4.12. Running under CGI, the application works fine
(a bit slow, obviously, but no problems).
When I run under FastCGI, the app is fine until I leave it alone for a
few hours. For example, last night I switched it to FastCGI and
everything seemed to be working fine. When I woke up this
2006 Nov 06
21
acts_as_ferret and associations
I have the following models:
class Book < ActiveRecord::Base
acts_as_ferret
belongs_to :author
end
class Author < ActiveRecord::Base
has_many :books
end
and in the controller:
def search
if params[:query]
@query = params[:query]
@total, @books = Book.full_text_search(@query, :page =>
(params[:page]||1))
@pages =