search for: duzenbury

Displaying 14 results from an estimated 14 matches for "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
...ic link from /usr/bin/ruby to /usr/local/bin/ruby, and that seems to make it function. I don''t really like doing that, however. Why does it work from the ssh command line, but not from Capistrano? If you''ve had similar trouble, how did you solve it? Many thanks. Regards, Rich Duzenbury
2006 Jul 26
1
Connecting to mysql 4.1.12 server
...rver, the passwords seem to be in the old style. Is this the issue? If so, what to do? The development log doesn''t seem to log the credentials used, nor the actual mysql error. So far, Google hasn''t come to my rescue. How do I troubleshoot this? Many Thanks. Regards, Rich Duzenbury
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
...;m sure that ruby/rails can somehow catch the error, probably with some sort of rescue. I couldn''t find much in the way of reference to how to use the rescue handling on rails. Are there any docs for this, beyond just the rdoc? Some sample code would be excellent! Thanks. Regards, Rich Duzenbury
2007 Apr 25
5
Upload PDF / Save as tiff
...= pipe.read open(''test1.tiff'', ''wb'') { |f| f.syswrite tiff_data } end Is it not possible to receive binary data correctly from the pipe? I''ve tested on both XP (ruby 1.8.4) and Linux (ruby 1.8.4). Thanks for any advice you can offer. Regards, Rich Duzenbury --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, sen...
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