similar to: testing for empty columns

Displaying 20 results from an estimated 60000 matches similar to: "testing for empty columns"

2006 Jul 16
9
acl_system help is needed
i found Ezra''s acl_system plugin yesterday and i am trying to figure it out. based on the simple instructions on the site, it does exactly what i need but i''m getting some errors when i try to use it: NoMethodError in UsersController#index You have a nil object when you didn''t expect it! The error occured while evaluating nil.roles i am pretty new to rails and
2006 Jul 05
5
ok, lightTPD is installed... how do i use it.
i used the hivelogic article to install ruby on rails to my mac: http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger everything works great using the script/server command, but isn''t that still using WEBrick? how do i server my apps with lightTPD? i tried following the instructions given here: http://duncandavidson.com/essay/2005/12/railsonlighty but have had no
2006 Dec 04
5
ruby on rails ecommerce tests are failing, but why?
i am working through the Beginning Ruby on Rails Ecommerce book and on page 101 where it is talking about integration tests, i run test/integration/book_test.rb and it fails giving me the following error message: 1) Failure: test_book_administration(BookTest) [test/integration/book_test.rb:45:in `add_book'' test/integration/book_test.rb:11:in `test_book_administration''
2006 Jun 07
7
file_column image versions
does anyone know much about resizing different versions of images with file_column? i tried it and everything works fine, but my question is can you do more than just make sizes with a version of image? i''m working on a photo album and i would like to resize the image to a medium size, but create a thumbnail as well and crop anything left to make the thumbnail a perfect square. --
2006 Jan 13
1
file_column - how to test for empty column?
I am using the excellent file_column, but have run into an issue. I am wanting the user to be able to *not* upload an image if they so choose. Then I am trying to determine if that column is empty or not, and display a generic image if that column is empty. I have tried both of the following code blocks: <% if @newsentry.image -%> <%= link_to(image_tag((url_for_image_column
2006 Aug 04
3
forms and relationships
i''m still pretty new to rails, and while i''ve been able to hack my way into having it do what i want so far, i''m not happy with the way my code looks. on top of that, i''m sure that what i''m doing prlly isn''t the most efficient either. one of my biggest problems is probably to do with using relationships and forms together. i''ve
2006 Mar 09
3
removing something from the session
Hi, Kind of a dumb question but when there is something in the session how do you remove it? @session.delete(:params) doesn''t work unfortunately. -- Frank Kim http://betweengo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060309/de00e277/attachment.html
2020 Mar 03
3
[PATCH] lib-imap: imap-bodystructure: add test with empty header field
This causes the body structure to be incorrect. The RFC says it's fine o have empty header field values. --- This just adds a failing test, inspired from an e-mail spotted in the wild. Ideas welcome to fix it. src/lib-imap/test-imap-bodystructure.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/lib-imap/test-imap-bodystructure.c
2006 Jun 20
5
ActionMailer to send to multiple people
I''ve been working with ActionMailer for a few days and finally have a pretty good grasp of it. In the book I''m reading, it shows how to send to multiple users or an array of users. Is there a setting or some configuration I can do to send the email to each person separately, or would I just need to loop through each user and send one email at a time? What is the best way to
2006 Apr 28
5
please explain web services
could someone explain some of the uses for a web service. i''m reading about how to make them, but i''m still not quite sure what they''re good for. i have multiple rails apps that i would like to pass user information back and forth to. i''m not sure if something like this could help me or not. thanks -- Posted via http://www.ruby-forum.com/.
2008 Aug 26
2
vTPM NVM, loadkey and trousers questions
Hi everyone, I am using Xen 3.2.1 with the vtpm-12-patch.diff patch posted in [0]. My TPM is an Infineon 1.2. In total I have got three different questions: 1. NVM loading problem at VM creation When I am creating a VM the last few lines of the vtpm_manager output are: TPMD[245]: tpm/tpm_startup.c:45: Info: TPM_Startup(1) Loading NVM. Sending LoadNVM command ERROR[VTPM]: Failed to load
2006 Jul 15
4
learning from typo.
i have a copy of the typo source on my desktop that i am going through just to get a better understanding of the rails framework and ruby itself. i''m fairly new to everything so it has proved to be very helpful and very inspiring. i''m stuck on a part though. i was trying to figure out how everything on the sidebar works. i found the components folder and started looking
2006 Apr 28
0
RE: Rails Digest, Vol 19, Issue 784
I am having a bit of trouble with the error. I hava a product and category table and wanting to display the categories in a drop down list. Below is the error I get. Any suggestion on how I can fix this. undefined method `name'' for #<Category:0x3652448> 9: <select name="product[category_id]"> 10: <% @categories.each do |category| %> 11:
2006 Jun 06
3
help with date formats
i have a datetime field in my database that i need broken up. i want to display the date and the time in separate places. i tried looking through the api, but couldn''t find what i was looking for. if someone could please point me in the right direction to format dates, that would be great. thanks -- Posted via http://www.ruby-forum.com/.
2012 Nov 28
2
data frame: adding columns from data and file title
Data processing? I have a large number of csv files from animal tracks that look like this: Date_ Time_ Speed Course Type_ Distance 30/03/2012 11:15:05 108 121 -2
2006 Jun 28
2
NoMethodError when setting session variable
I know this is dumb, but I can not set a session variable. I get the followig error: Processing Base#edit (for 67.174.108.88 at 2006-06-28 17:17:34) [GET] Session ID: 3c4b2bad18c8bc289b719dc056913be7 Parameters: {"action"=>"edit", "id"=>"11", "controller"=>"image",
2008 Mar 08
6
World Of Warcraft perfomance problem.
Hello. I'm running WoW 2.3.3, my wine version is wine-0.9.56. My PC: 512 ram, Athlon 300+ and ATI radeon 600x. Problem: 4pfs under Arch Linux and up to 12 under Ubuntu. Drivers: Fglrx (catalyst-8.3-1) Rendering: Yes Code: glxinfo |grep direct direct rendering: Yes fglrxinfo display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: RADEON X600/X550 Series
2005 May 23
1
Handling of SIGUSR1 in dispatch.fcgi
The latest version of dispatch.fcgi in the trunk has the following code snippet: trap("USR1") do # Go to exit as soon as possible. end One of the issues I encountered while debugging fcgi under windows is that SIGUSR1 is not supported in the native Windows version of Ruby (though it is in cygwin). Currently, I have it commented out to allow dispatch.fcgi to run without blowing up.
2010 Jan 21
2
will_paginate ?
Does anyone have experience with will_paginate? I''m trying to use it with acts_as_ferret. routes.rb ... map.search ''/search'', :controller => ''notes'', :action => ''search'' notes.rb ... acts_as_ferret :fields => [ ''body'' ] notes_controller.rb ... def search if params[ :query ] @query = params[
2006 Mar 27
3
any luck installing RoR with apache / cpanel setup?
i just went through installing RoR on a cpanel setup and everything seems to work except for deployment. i go through the entire process of setting up a new rails app on a cpanel account and i get: Not Found The requested URL /testapp/index.html was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.