Displaying 14 results from an estimated 14 matches for "duzenburi".
Did you mean:
duzenbury
2006 Jul 13
8
Acts As Authenticated - smarter login box
Hi,
I''ve got AAA loaded and working. I now want to put a smarter login form
on the sidebar of my site.
If the user is not logged in, I''d like to display a typical form in the
sidebar that collects the user ID/password and allows the user to login.
If the user is logged in, the box should display something like ''Logged
in user: FirstName Lastname'' and a
2006 Jul 13
3
Capistrano / developing on win32 / deplyoying on Linux
Hi,
I''m new at rails and am in the midst of deploying my first app to a test
server. The app was developed on windows. I used Capistrano to deploy,
and found a few issues:
1) I must chmod 755 dispatch.cgi each time I deploy
2) script/parse/reaper also doesn''t have the executable attributes so
the deployment fails.
3) database.yml as checked out from svn isn''t
2006 Aug 04
8
Capistrano /usr/bin/env: ruby: no such file or directory
Hi,
I''m deploying to a prod linux server via Capistrano, but the last step,
running the reaper, won''t complete.
Ruby is stored in /usr/local/bin on the server, and I''m deploying from
winxp.
$ ssh mcalogin@lx07
Password:
mcalogin@LX07:~> env | grep "^PATH"
PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/b
in:/opt/
2006 Jul 26
1
Connecting to mysql 4.1.12 server
Hi,
I''m building a rails app on win32, and need to develop, test, and deploy
to a mysql 4.1.12 server running on a Linux server.
Whenever I attempt to connect to the database_development or
database_test directly from my workstation, I get the ''Lost connection
to MySQL server during query'', however, I can connect directly from my
local mysql client on my workstation
2006 Jul 05
2
Protecting Static content
Hi,
I want to build a rails backed site which, in addition to some dynamic
content, also comprises a number of static content files. There are
some static html pages, some powerpoint presentations, and some PDF
documents.
I want to make sure that the user is logged in before they can access
the protected content. I''ve gone through the ''Agile development with
2006 Jul 19
2
Creating a safe sequence generator
Hi all,
I''ve got a rails and database question. Accounts have jobs, and job
numbers should be assigned per account. Account 89 should have jobs
1-whatever, which are not the same as account 67, which has jobs
1-whatever.
In the past, I have accomplished this quite easily with:
create table job (
accountid int(10) unsigned not null default 0,
jobid int(10) unsigned not null
2006 Nov 04
0
How to catch an ActionMailer error
Hi,
I''ve got actionmailer set to raise an error on failure. When a user
submits my contact form, and they use a bogus address ''s@s.com'', then
the following error occurs in the production.log:
Net::SMTPFatalError (553 5.1.8 Sender address <s@s.com> domain does not
exist)
What I would like to do is catch the error, add the message to the
errors for the email
2007 Apr 25
5
Upload PDF / Save as tiff
Hi,
I''m trying to automate the conversion of a PDF document received via a
browser upload to a tiff image via ghostscript. I have the PDF data in
a string, and I need the tiff data returned into a string.
The general command I want to emulate is:
type test.pdf | "c:\program files\gs\gs8.56\bin\gswin32c.exe" -q
-dNOPAUSE -dBATCH -sDEVICE=tiffg4 -sOutputFile=- > test5.tiff
2006 Aug 01
6
[OT] PDF''s not Downloading in Win/IE
I have a Rails app that''s working perfectly (http://amuinsurance.com), but on
Windows IE and no other browser, if I go for the URL:
http://amuinsurance.com/content/marine_insurance.pdf
--
View this message in context: http://www.nabble.com/-OT--PDF%27s-not-Downloading-in-Win-IE-tf2034599.html#a5597794
Sent from the RubyOnRails Users forum at Nabble.com.
2007 Apr 23
4
send_file pdf problem
Hi,
I am using send_file to allow users to download files from my website,
please see code beloe:
def download_document
send_file("#{RAILS_ROOT}/public/test_form.pdf",
:filename => "test.pdf",
:type => ''application/pdf'',
:disposition => ''attachment'',
:streaming
2006 Aug 16
6
modeling ''phony'' fields.
Hi,
I have a user model with an e-mail field. When a user registers for the
site, I want them to confirm their email address by typing it in again.
If they change their email address, I want them to confirm their email
address by typing it in again. However, the user might change things on
their account not related to their email address, such as their phone
number, and they should not have
2006 Aug 09
0
Rails security update
I see there is a mandatory security update out for rails today
(http://tinyurl.com/lvqjs), but I cannot get it to install on XP.
Anyone having a similar experience?
C:\ruby\bin>gem install rubyzip
Attempting local installation of ''rubyzip''
Local gem file not found: rubyzip*.gem
Attempting remote installation of ''rubyzip''
Successfully installed rubyzip-0.9.1
2006 Jul 31
0
Can''t get into production mode!
Hi all,
I''m deploying my first rails app. I''m using lighty and fcgi, and cannot
get the app to go into production mode. I deploy via Capistrano.
When I dump ENV, RAILS_ENV is still ''development''. Is something
overriding the lighty config?
Here is the lighty config:
var.appname = "mcalogin"
server.port = 1411
server.modules =
2008 Jan 16
0
script/process/spawner freezing
Hi,
I have about eight active RoR sites right now. Of the eight, six are on
Rails 1.1.6 and they deploy correctly every time. Two are on Rails
1.2.3, and those two do not deploy correctly. The cap deploy command
runs successfully until the restart, and then it hangs:
[lx07] executing command
** [out :: lx07] sudo -u wwwrun
/usr/local/rails/mysite/current/script/process/spawner -r 30 -p