similar to: Execution expired with MONGREL. No problems with webrick

Displaying 20 results from an estimated 1000 matches similar to: "Execution expired with MONGREL. No problems with webrick"

2004 Aug 06
1
AW: liveice SAVE_FILE
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 david, thanks for that great patch! :) would it be possible to include that feature into liveice (cvs at least), since it works really great and doesnt hurt anyone? also thanks for the other suggestions. where is ices2? is it stable enough for live streaming? regards, br1 > -----Ursprüngliche Nachricht----- > Von: owner-icecast@xiph.org
2006 Apr 25
2
Question about Callbacks in link_to_remote
Currently, I have a link_to_remote like this: <%= link_to_remote("Get Results", :update => ''query_results'', :with => "''tags='' + $F(''query_tags'')", :loading => "new Effect.Appear(''comment_loading'')", :complete
2006 Jul 07
4
Help installing Ferret
http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails I followed everything here but at the last I get when loading page get_results Can only handle a String or a Query. RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/app/models/result.rb:27:in `search_each'' #{RAILS_ROOT}/app/models/result.rb:27:in `search_index''
2004 Aug 06
0
liveice SAVE_FILE
Hi Bruno, > or ist there some other solution concerning dump (or save) files? I wrote a patch that might be useful to you. It doesn't do exactly what you described, but maybe it'll work anyway. It lets you tell liveice to close and reopen its savefiles while it's running. You can also start/stop save_file archiving entirely:
2006 May 17
6
ActiveRecord#to_param
Hello, to implement some some kind of optimistic locking, I want to build a view, where an object is displayed together with a link containing the data of the displayed object. My first try looked something like <%= object.object_discription %> <%= link_to "action", :action => "take_action", :data => object %> this won''t work because object is of
2006 Nov 04
0
Problems with ActiveRecord, Oracle adapter, find_by_sql, multi-table join - ORA-04043 error
Hi all, Windows XP Oracle 10g client OCI8 0.1.16 Ruby 1.8.5 Rails 1.1.6 I''m hitting weird behavior with the Oracle adapter and a find_by_sql call on a multi-table join. The SQL looks like this: SELECT DISTINCT e1.ip_address, loc.street, loc.city, loc.state FROM schema.net_element ne, schema.equipment e1, schema.equipment e2, schema.building b, schema.cust_loc cl, schema.location
2006 Aug 12
0
How do I pass query from from to the controller?
Hi I need to pass a query string for a search to a controller from the view. View: <%= start_form_tag(:action => ''get_results'') %> <%= text_field ''search'', ''search_term'' %> <%= submit_tag "Search" %> <%= end_form_tag %> Controller: def get_results(query)
2006 May 12
1
Uploading a file with form_remote_tag problem.
params[uploaded_file] is not recognised when i try form_remote_tag like this: <%= form_remote_tag :url=>{:action => "save_file"} ,:html=>{:multipart => true} <%=text_field_tag "name"%> <input type="file" id="uploaded_file_file" name="uploaded_file[file]"/> <input type="submit"
2004 Aug 06
0
liveice SAVE_FILE
On Mon, 16 Jul 2001, Bruno Randolf wrote: > does anyone have patch for liveice that the saved files (SAVE_FILE > directive in the config file) don't get overwritten if liveice is > stopped and started? i think about something like adding the current > date and time to the filename... > > or ist there some other solution concerning dump (or save) files? Well, I like the
2008 Mar 03
2
how can i know type of attribute with active record
Hello, In my database, I have a table "products" with attributes : - id - title ->string - desc -> text I use active record, but I don''t know why recover the type of this attribute with active record? I try attributes_before_type_cast but I don''t see the type Can you help me? Excuse for my english (I''am a young student french) -- Posted via
2007 May 31
0
Rails AR/SQLServer Unit Test: [6912] failed (but getting better)
"bitsweat" has given AR/SQLServer some love, but it''s still unhappy... http://dev.rubyonrails.org/changeset/6912 ------------------------------------------------------------------------ r6912 | bitsweat | 2007-05-31 10:15:56 -0700 (Thu, 31 May 2007) | 1 line Fix an edge case with find with a list of ids, limit, and offset. Closes #8437.
2008 Feb 25
1
NoMethodError: undefined method `<=>' for :zip:Symbol
Long time programmer, but I just started learning RoR last week. I am going through some examples in the book "Ruby on Rails: Up and Running". The example I am on had me add a table to the database that looks like so: CREATE TABLE people ( `id` int(11) NOT NULL auto_increment, `type` varchar(20) default NULL, `name` varchar(20) default NULL, `email` varchar(30) default NULL,
2004 Aug 06
5
liveice SAVE_FILE
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello! does anyone have patch for liveice that the saved files (SAVE_FILE directive in the config file) don't get overwritten if liveice is stopped and started? i think about something like adding the current date and time to the filename... or ist there some other solution concerning dump (or save) files? if there is no patch around, i
2006 Jan 18
1
Rails and PostgreSQL bytea
Hi! I''m trying to insert binary data into a PostgreSQL database where the field is of type ''bytea''. This works fine if a do Base64 encoding but I just want to do character escaping. How do I do this????. What I get is this: ActiveRecord::StatementInvalid in Init_test#save_file ArgumentError: Invalid Ruby/cstring: INSERT INTO
2005 Aug 02
0
Debugging woes
I am trying to debug this mockup, it runs fine from the shell, but when I run it from within emacs with rubydb, I get an exception. I''ve tried this in the past, running a test from within emacs and it failed. I think it has something to do with the environment. I''m not sure how I should invoke the interpreter to give ActiveRecord access to what it needs. Currently I just call it
2006 Mar 17
0
validates_format_of before type_cast?
Often I need to do a one-off validation before Rails has had a chance to convert. For example, a date. Is there a general mechanism to cause validations to run on the raw input or do I have to resort to: private def validate unless attributes_before_type_cast[''date_of_loss''] =~ /^(\d+(-|\/)){2}\d{4}/ errors.add(''date_of_loss'', ''use the
2007 Jul 04
0
[1104] trunk/wxruby2: Added 2.8 methods to TextCtrl & document them; tidy up header file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2005 May 02
0
Wx::StringInputBuffer/Wx::StringOutputBuffer
Hello, wxruby-users. This is two files which wrap wxStringInputStream and wxStringOutputStream for ruby. I need this to implement in-memory image io. ''stringio.rbw'' -- small sample for it. Short usage: stream = Wx::StringInputStream.new image_data image = Wx::Image.new stream stream = Wx::StringOutputStream.new image.save_file stream, ''image/jpeg'' image_data
2006 Jun 20
3
WEBrick just decided to take a hiatus on me
Good day all. This is one of the most frustrating days I have had with Rails in quite some time now (almost 8 months actually). Yesterday I complete my development and testing and everything is peachy. I head home for the evening and do my things there. This morning, I come back in and do my typical morning routine of starting up eclipse and the usual "ruby script/server" command in
2010 Dec 30
6
validates_inclusion_of doesn't match constant
Hello, I have a model Model: SPECIAL_FEATURES = %w(none top) class Model validates_inclusion_of :special_feature, :in => Model::SPECIAL_FEATURES, :on => :create, :message => "special_feature %s is not defined" belongs_to :team def special_feature attributes = attributes_before_type_cast if attributes["special_feature"]