Displaying 20 results from an estimated 300 matches similar to: "HTTP Digest Authentication not working"
2010 Sep 27
0
problem when downloading files with xsendfile
Hii All, i loaded mod_xsendfile.so in apche , i added few line in
httpd.conf files
LoadModule xsendfile_module modules/mod_xsendfile.so
XSendFile on
XSendFileAllowAbove on
<VirtualHost * localhost:80>
ServerName src
DocumentRoot C:/InstantRails-2.0-win/rails_apps/src/public/
ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/
</VirtualHost >
now in my
2010 Sep 22
20
problem in downloading large file with apache+mongrel
hii all,
am using apache as frontend to mongrel and loaded xsendfile
module in apache ,am looking for 1 GB of download .this is download
routine
def download
@stream = Stream.find(params[:id])
send_file(@stream.location,:filename => @stream.name,:disposition >
''attachment'',:x_sendfile => true )
and
And this is how it is processed
Processing
2009 Jan 07
0
how rails insert object id to database?
[4;35;1mUser Create (0.5ms) [0m [0mINSERT INTO `users` (`name`,
`avatar_file_name`, `avatar_file_size`, `created_at`, `updated_at`,
`avatar_content_type`) VALUES(''hello'', ''Screenshot.png'', 253800,
''2009-01-08 08:27:19'', ''2009-01-08 08:27:19'', ''image/png'') [0m
[paperclip] Saving attachments.
[paperclip]
2009 Apr 27
5
ruby jasper report
Hi,
I am trying to create a pdf using ruby jasper.
For this I am referring this url:-
http://oldwiki.rubyonrails.org/rails/pages/howtointegratejasperreports
I have done everything whatever is in that link.
Still I am not able to get the pdf. I am not getting any error in log
file. My log file is:-
"Processing AccountController#customer_report (for 127.0.0.1 at
2009-04-27 13:19:34) [GET]
2007 Oct 15
3
Spec::Rails::DSL::HelperEvalContextController: missing defau
Just created a new project and this is the error that I am getting when
I try to run my rspec tests:
Spec::Rails::DSL::HelperEvalContextController: missing default helper
path spec/rails/dsl/helper_eval_context_helper
Spec::Rails::DSL::ViewExampleController: missing default helper path
spec/rails/dsl/view_example_helper
[4;36;1mSQL (0.000138) [0;1mSET SQL_AUTO_IS_NULL=0
[4;35;1mSQL
2010 Aug 19
3
Help: "500 Internal Server Error"
Hi guys,
I am a completely ruby & rails newbie. i have being struggling on this
issue for almost 2 days, still can not figure out the problem.
there are two websites i''m trying to set up a development environment on
my pc running windows xp 32 bit version. a front-end customer facing
page & back-end admin page.
the procedure i have gone through is:
1. install ruby version 1.8.6
Mysql::Error: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE)
2009 Aug 04
0
Mysql::Error: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE)
Hi, I''ve got an error when I upload a record by iPhone with Chinese
character.
Processing ScoresController#create (for 123.204.56.133 at 2009-08-04
16:19:52) [POST]
Parameters: {"score"=>{"score"=>"79.60", "player_name"=>"δΈ€",
"iphone_identifier"=>"6b194f783d645ba1a7c30c0e31b1b67300eb0a25"},
2008 Jan 21
2
Application error - SQL_AUTO_IS_NULL
I have a simple controller (browse) that uses a "books" action to
display a list of books (stored in a mysql db) and a "book_details"
action to display the details of a particular book (according to the
book''s mysql id). The book_details action is accessed via a link from
the books action via the following snippet:
<a href=<%=
2009 Apr 19
1
Cucmber: Mysql::Error: query: not connected: ROLLBACK
Hi,
I ran in trouble with unexpected rollbacks using cucumber 0.3.0.
My feature-file looks like
Scenario: Create Valid Item
Given I start
and the step is
Given /^I start$/ do
get "/items"
end
In my log/test.log I get
SQL (0.2ms) SET NAMES ''utf8''
SQL (0.2ms) SET SQL_AUTO_IS_NULL=0
SQL (0.1ms) BEGIN
Processing ItemsController#index
2009 May 01
4
Can't get to an action in a RESTful controller
Folks,
I am using the restful_authentication plugin. This creates the users
controller which is declared as a resource in routes.rb as below
map.resources :users
Now in the UsersController I have created an action to resetpwd that I
am trying to get to from the login page when the user clicks "forgot
password". However, when I do that the log file tells me that the call
to
2010 Apr 26
2
woriking under webrick but not under passenger
Hi!
I have just added login feature to my rails application (followed the
instruction from (Agile Web Development with Rails) but now I am getting
strange errors (looks to me like some kind of routing problem) under the
passenger/apache.
The error is:
500 Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
From the log:
2009 Nov 16
0
mysql_adapter.rb:576: [BUG] Segmentation fault
Hello there,
I am encountering segfaults with following:
ruby 1.8.6 (2008-08-11) [i386-mswin32] on windows 7,
rails 2.3.2,
mysql (2.7.1) gem and
MySQL 5.0.87-community-nt-log
Tried with MySQL 5.1 and mysql gem 2.8.1 with no luck.
Loga are showing:
C:\Users\Alex\Documents\IT\ruote-web2>ruby script\server --port=3333
=> Booting Mongrel
=> Rails 2.3.2 application starting on
2009 Nov 11
6
HeLp oN my database
Using my application i can able to save a new record into my db
but i cannot update a existing record into my db.
using update query i can able to update my records.
but using update_attributes it doesnot update my records.
even i cant find any errors in logs or something.
throughout my application i can able to save a new record but unable to
update my existing records.
actually i have changed
2010 Oct 28
4
how do i find the trigger of an 'unknown' action
hi , in my logs i see that:
Completed in 1480ms (View: 267, DB: 90) | 200 OK [http://192.168.2.9/xyz/99]
SQL (1.4ms) SET NAMES ''utf8''
SQL (0.7ms) SET SQL_AUTO_IS_NULL=0
Processing xyzsController#images to gif (for 192.168.2.3 at 2010-10-28
15:22:35) [GET]
Parameters: {"id"=>"loading"}
ActionController::UnknownAction (No action responded to
2010 Oct 28
2
ActiveRecord JDBC error Generated keys not requested
I''m getting the following error while connecting to mysql using
activerecord-jdbcmysql-adapter (1.0.2). Rails 3.0.1.
ActiveRecord::JDBCError: Generated keys not requested. You need to
specify Statement.RETURN_GENERATED_KEYS to Statement.executeUpdate()
or Connection.prepareStatement().: SET SQL_AUTO_IS_NULL=0
This occurs not matter what application I run it in to e.g. rake,
rails
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_anabilimdali ,
yayin_ogretimuye .
The
2006 Jan 19
3
problems with migrations in sql server
Is anyone using migrations with a SQL Server database who might be able to
lend me a hand? I''ve used migrations with MySql in the past and haven''t
run into any issues so forgive When I run rake migrate nothing is actually
getting updated in my database. I created a migration using
./script/generate migration AddFooTable and updated the migration to look as
follows:
class
2009 Apr 03
0
Truncated development log when using rescue_from
I''m noticing that my development.log messages are not showing the usual
complete logging per request/response when I am catching exceptions from
my controllers using rescue_from. I was wondering if anyone has ever
encountered this issue before. I''m using Rails 2.2.2.
Processing DomainsController#show to xml (for 127.0.0.1 at 2009-04-03
16:41:38) [GET]
Parameters:
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:
2008 Apr 23
2
Bug in eager loading and polymorphic associations?
Hi friends, i''m usgin the edge version because i need eager loading on
polymorphic associations support, but i see this:
Message.find(:first, :include => :owner) #This generate this query:
SQL (0.000072) SET SQL_AUTO_IS_NULL=0
Message Load (0.000389) SELECT * FROM `messages`
User Load (0.001070) SELECT * FROM `users` WHERE (users.id IN
(1,2))
And this Message.find(:first,