search for: jpfeifer

Displaying 20 results from an estimated 23 matches for "jpfeifer".

Did you mean: pfeifer
2005 Dec 17
13
Rookie with ActionMailer
...at''s been intended to programmatically send email. I''m looking at examples in AWR and also on the wiki. I feel that I sort of have things set up right but I''m getting an error I can''t grok: Net::SMTPFatalError in Home#email_list 550 5.7.1 Unable to relay for jpfeifer-fVOoFLC7IWo@public.gmane.org /app/controllers/home_controller.rb:34:in `email_list'' script/server:54 jpfeifer-fVOoFLC7IWo@public.gmane.org is my email and is pulled from my database table I''m set up like this: Controller: def email_list email = Email.find(:first) MailList::...
2006 May 12
11
Stupid? question about if else logic
this seems so stupid, I keep thinking I''ve dealt with this before but I have this code <h1>Portraits</h1> <% if @image.portrait == 1 %> <%= image_tag(url_for_file_column ''image'', ''file'', ''thumb'') %> <% else %> <h1>Landscapes</h1> <%= image_tag(url_for_file_column
2006 Jun 15
9
MySQL error
Greetings, I''ve got a Rimu account and I''m trying to config things for a deployment. I''ve now got things to where I''m atleast getting a nice error page you can see at: http://www.juiceboxmedia.ca/public/ the username and password I have connects to this database fine with phpmyadmin from my plesk control panel, so as far as I know MySQL on it''s
2006 May 11
4
modelling data to specify user access
Hello, this is my second Rails app, and the first one I did had simple data mapping. This time I am building a site for a photographer, and they want to upload photos, and create galleries that only certain clients can log in and have access to. There will be multiple galleries, and the access to them will vary depending on how the admin assigns it to each client. There is also a porftolio
2006 Apr 03
11
Rails VPS Business Hosting
Greetings, Does anyone have experience with Rails VPS hosting? I''m basically looking for a hosting reseller option so I can have control of my clients domains and hosting. I''m looking for something easy to use; although I like learning it all, and am learning a lot, I am most definitely not a command line linux user type as of yet. The one that I''ve looked at
2006 Jun 13
7
help with ''error_messages_for''
Greetings, I''m in the throws of deploying an app on site5, and I''m getting strange errors. I think I might need to understand how error_messages_for works. I get a pretty standard looking error: " You have a nil object when you didn''t expect it! You might have expected an instance of ActiveRecord::Base. The error occured while evaluating nil.errors Extracted
2006 Jun 09
2
Deployment Suggestions
Did a quick search, but didn''t come up with anything definitive. So what does everyone think is the best low maintenance and most hassle free way to go for deployment? Is lighttpd still everyone''s choice? I remember seeing one that was a pre-packaged environment with apache I think. Anyway, just about to deploy an app and thought I''d ask suggestions - want to see
2006 May 15
1
handling navigation tabs - use sessions?
I think this is a fairly easy question done several times in several languages, but on a traditional ''tab'' based navigation webpage, what''s the best way to handle the active state? I am using this in my view: <% for category in @categories %> <% if the condition is met to make this the active tab %> <li><a id=''active''
2005 Dec 07
1
Navigation
Greetings, I appreciate the help from here as I seem to be asking the noob questions a lot, but what is a good way to deal with navigation pulled from a database? I have this in my view: <% @nav_buttons.each do |nav_button| %> <li><a href="#" class="nav"><%=h nav_button.name %></a></li> <% end %> this in my controller def
2006 Jan 15
2
rookie with text editing
Greetings, This might be a pretty basic question not even totally rails specific, but how do I control text editing using ruby on rails? For instance, I am using the ruby forum http://www.ruby-forum.com/topic/new as I type this and am typing into a textarea tag. I have this in my rails app and I want to know how to save the formatting - such as when I hit returns to go to a new line when I
2006 Jun 09
2
Noob with Overwhelming Deployment Woes...
I''m doing some searching for deployment options, and I feel like I''m getting buried in a lot of new technology and assumptions that I know all that it''s dependent on. In the past I''ve done small things with PHP where I just dump the app in a folder and everything works out of the box. I found that everyone is using Capistrano, which relies on Subversion
2006 Jun 09
0
Re: Rails Digest, Vol 21, Issue 195
...um.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > -- -Alder ------------------------------ Message: 6 Date: Fri, 9 Jun 2006 20:03:56 +0200 From: Jason Pfeifer <jpfeifer@shaw.ca> Subject: [Rails] Noob with Overwhelming Deployment Woes... To: rails@lists.rubyonrails.org Message-ID: <ed523c9ac3ebbc029342aa3994e42946@ruby-forum.com> Content-Type: text/plain; charset=utf-8 I''m doing some searching for deployment options, and I feel like I''m...
2006 May 31
3
instance variable problem
I''m having some trouble with an instance variable being read as nil in my app. I have an image uploading, that can be added to categories. The page loads up initially fine, and if I upload an image without errors everything works fine. I''m working on the validation, but with the code I have if their are validation errors it renders ''new'' again, but reads
2006 Jun 01
9
More flexible file column?
The file column plug-in is great, but there is a problem with it. Well, two... But the other is well documented now. :^) Consider a time when you''ve created a CMS for a client and it''s been in use for over a year. Say 1500+ images have been uploaded so far. Now the client comes back with a simple request... ''Can you change the thumbnail size to 80/90, rather than
2006 Jul 19
0
Magick::GravityType Error
Trying to get an app up and running using file_column on Dreamhost, I run into this error on submitting an image to upload: can''t convert Magick::GravityType into Integer #{RAILS_ROOT}/vendor/plugins/file_column/lib/magick_file_column.rb:90:in `crop'' ... I half thought I found the hosting provider specific error in googling and finding this thread:
2006 May 16
0
strange MySQL data populating
I am getting weird data when trying to use HABTM. I have a Images table with columns id, title, and file. I have a Categories table with columns id, name. I have a join table for them with image_id, and category_id when I do @images.inspect I get: [#"image 1", "id"=>"52", "portrait"=>"0",
2006 Jan 23
1
learning how models, controllers, and views pass data
As a noob to Rails and web development in general, I think I still need a broader understanding of how Views, Controllers, and Models pass information and variables to each other. I''m creating a site that allows for email campaigns. I have a ''create_email_controller'': class Admin::CreateEmailController < Admin::BaseController layout ''admin'' def
2006 Aug 01
0
persisting tree navigation
I have built a tree navigation for pages I have in a site, that loads the content of each page into FCK editor. The parent nodes are shown at the beginning, and the child nodes are in display:none hidden divs that are toggled with scriptaculous bindup and binddown. If the user clicks on one of the children, I want that div to remain visible on page refresh. I''m pretty new with app
2006 May 12
3
file_column error
Hmm, I''m using file_column and going by this tutorial, the files upload ok and I can see the fields updated in the database, but I am getting this error: "Trying to access file_column, but primary key got lost." Thanks in advance -- Posted via http://www.ruby-forum.com/.
2005 Dec 05
3
Noob Question about databases in rails
Ok, This sounds like it should be easy but I am having a hard time with it. I am making a website but I''m trying to make everything in it fairly database driven, this is really pretty much my first rails project. I have a table called ''nav_items'' to display the nav choices, but there is also other dynamic data on the homepage such as the ''events''