Displaying 8 results from an estimated 8 matches for "0;1minsert".
2005 Nov 24
1
Log question
...more efficient to cache this info?
I''m also wondering about strings like "[4;35;1m". What''s their purpose
and is it possible to get rid of them? They look like screen coordinates
and makes no sense in a text file.
Christer
Processing ReportController#create (for 127.0.0.1 at 2005-11-24
08:18:41) [POST]
Parameters: {"action"=>"create", "controller"=>"report",
"report"=>{"flightnumber"=>"XYZ789", "id"=>"", "description"=>"CIA
flight...&qu...
2005 Dec 17
0
Passing multiple parameters with select-option to controller
Hi all,
I''m using Windows Xp, Mysql 5, Webrick, Rails 1.0 I''ve 3 tables which
have HABTM relationship. My tables names are all set to uncountble. Name
of tabels are anabilimdali (includes department info id name etc.),
ogretimuye (personel information like id , name , dept. ) yayin
(document information), and for relationships yayin_anabilimd...
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 May 04
5
Something wierd with .save method
...>{"project_id"=>"1",
"description"=>"desc", "solution"=>"desc", "owner"=>"qqqq"},
"isselected"=>{"KSS2"=>"2", "KSS"=>"1"}}
saving ....
#<Issue:0x690a58c>
[4;35;1mSQL (0.000000) [0m [0mBEGIN [0m
[4;36;1mSQL (0.000000) [0m [0;1mINSERT INTO issues
(`project_id`, `mod_id`, `number`, `date`, `description`, `solution`,
`owner`, `state`) VALUES(1, 2, ''1013'', ''2007-05-04 07:49:46'', ''desc...
2009 Feb 25
3
Saving rich text to the database
I''ve started trying to use the wysihat rich text editor from 37-
signals and everything is going well except that I get an error when
trying to save the text from the enhanced field to the database. This
is from my log:
Processing InstructionsController#new (for 127.0.0.1 at 2009-02-25
06:04:57) [POST]
Session ID:
BAh7CCIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
%0ASGFzaHsABjoKQHVzZWR7ADoMY3NyZl9pZCIlMjNkODY3MzA1YTVkMmQ2MTgw
%0AZDdhZTA1Y2I1OTZlZmI6CXVzZXJpCQ%3D%3D--
f732f8aee1da43652706372f3d32f66ce203b19b
Parameters: {"commit"=>&quo...
2008 Sep 29
4
RJS is not loaded
Hello,
I have here an issue which is really critical for me (it for my
university work and I would like to not delete this feature). It based
on a Rails 1.x tutorial which I use now under Rails 2.x. It contains the
refreshment (adding content or records) of an div via RJS/JS.
I access the RJS via (Controller):
respond_to do |format|
format.html { redirect_to :controller =>
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:
ActiveRecord::StatementInvalid: RuntimeError: ERROR C42P01
Mrelation "p...
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 =