similar to: Error Handling Question

Displaying 20 results from an estimated 2000 matches similar to: "Error Handling Question"

2006 Aug 04
4
Tabs
I''m new to Ruby/Rails I want to create Tabs similar to these... http://demo.raibledesigns.com/struts-menu/tabbedMenu.jsp;jsessionid=aM2yeUTgLeTbY7WLAZ;jsessionid=aBFrrGHWQim4pwSPAZ?People Can someone outline the best method? Specifically, Is creating a tabs.html in \..apps\views\layouts and using class PhotoController < ApplicationController layout "tabs" ....in my
2013 Jun 28
1
[HELP PLEASE!] attachment_fu and aws-s3
Hi, Im developing an image upload using pothoven-attachment_fu (3.2.8) and aws-s3 (0.6.3). I want to store my files in Amazon S3. I follow all the instructions using attachment_fu and s3 my model has_attachment :content_type => :image, :storage => :s3, :max_size => 1.megabyte, :thumbnails => { :thumb =>
2005 May 23
1
has_and_belongs_to_many dual insert error ?
Hi ! (See references at the end) I have a slight problem. Whenever I save one of my domain models, which contains an has_and_belongs_to_many relationship with another one, the relationships are doubled. My domain is a series of pictures, where each picture can be tagged with one or more words. So, a picture of my dog could be tagged "Jordy, Dog, Dog 2005", for example. In my
2008 Oct 14
0
Attachment_fu, db_file and Windows
I''m having trouble serving images which I have saved as db_files with attachment_fu. I use this code to serve the images: Controller -- class PhotoController < ApplicationController def image @photo=Photo.find(params[:id]) send_data(DbFile.find(@photo.db_file_id).data, :type => @photo.content_type, :filename =>
2015 Dec 28
2
Getting Started
Hello, My name is Saurabh Shah and I am a second year undergraduate student at DA-IICT, Gandhinagar, India. I am new towards the open source organizations and I find your organization an appropriate one to work on. I know C language very well and eager to learn whatever the suitable project demands. So please guide me on how to get started with any specific project or solving bugs etc. Thanking
2011 Aug 04
1
Creating form for associated has_many model
This example shows how to create a form for an associated model ''Comment'', where ''Comment'' belongs_to ''Post'' and ''Post has_many ''Comments''. http://edgeguides.rubyonrails.org/getting_started.html#generating-a-controller How might I modify that to display all the comments in the form, and still have it call the
2006 Jul 22
5
HTML generation w/out browser Interpretation
I just recently moved my web application to production mode and published it online. While everything functioned ok locally, I have a very bizarre error now affecting my application. One of my controllers, Work, is not behaving properly. Whenever I call the action new, create, edit, or update I get all of the HTML generated to my browser (this happens in Firefox, Camino, and Safari) but the
2015 Dec 31
0
Getting Started
Hi Saurabh, Strange that nobody seemed to have replied to your question. Anyway: if I were a programmer I would have tried to add functionality to the logging part of samba: - we very much miss detailed information on failed authentication attempts on our DC's. A failed auth attempt on a samba DC is logged with no details at all, like. The most valuale one would be: - coming-from ip
2015 Dec 31
1
Getting Started
On Thu, Dec 31, 2015 at 03:04:01PM +0100, mj wrote: > Hi Saurabh, > > Strange that nobody seemed to have replied to your question. Christmas and New Year break in the US, Australia and Europe. He's not being ignored, just many people are on vacation. > Anyway: if I were a programmer I would have tried to add functionality to > the logging part of samba: > > - we very
2013 Jan 26
2
different legends in lattice panels
Hi listers, I want to make lattice plots xyplots with the indication of legends inside each panel with only the points and the lines actually ploted inside each given panel according to the group(ing) factor. The code below shows what I have achieved so far and I hope will make clear what I want to have. It seems to me that my solution is a very "dirty hack" and there certainly is
2008 Oct 13
2
Using an image background with graphics
I would like to use a map or aerial photo as a background to plotting solid lines and text, and semi-transparent color contours, in base and lattice graphics. Plot coordinates need to be consistent with the georeferenced background. For example, a color contour plot would have an gray-toned aerial photograph as a background for overprinted semi-transparent color contours of some spatially
2006 Mar 27
3
XML Storage?
Hey Folks, Now that all the fun and games of learning Rails has almost sunk in it''s time to build something useful. I am tasked with building a system to control and search our large (and I mean large 1.5 million + and growing) photograph collection. I have been building databases for years and after thinking about the situation we decided that trying to store the
1999 Apr 22
0
Samba and NIS+ (lengthy desperate plea)
Hi everyone, Let me briefly describe my setup. I work at a small university and we are setting up 3 labs. 2 are filled with Ultra Sparc 5's, and the 3rd will be filled with PCs running NT4 workstation. We have an Enterprise Server 3500 running NIS+ to authenticate the Unix labs (or rather we will, once I get it working), and I'd like to set up Samba to authenticate the NT labs using
2006 Feb 19
2
Sortable list (scriptalicious) and updating database
I have made a sortable list which is sortable by dragging & dropping the list elements. It works, but the order of the elements will not be updated in the database. Hopefully someone could help me, or tell me what I''m doing wrong. Thnx! Rgds, Eric Controller: album_controller.rb class AlbumController < ApplicationController def show_sort_album @photos =
2005 Jul 22
2
Unpredictable behavoir using Sortable javascript
Hey all, I''m attempting create a photo album that can be re-ordered using the great scipts from script.aculo.us <http://script.aculo.us>. It seems to work as expected when I pretty much copy and paste the puzzle example but when I try and be a bit trickier (changing the movable elements to be divs containing images) things get wierd. I''m able to "pick" the
2006 Feb 23
7
How to set a relationship with a value from a selection list
I realize this is probably a very basic problem but I''m developing my first rails app and running into this problem. I''m trying to write a photoblog application. I have a photo table and an album table. Photo has a to-one relationship to Album. Photo.album_id => Album.id In my view for photo I have a selection list that''s populated with all the available albums.
2006 Feb 25
1
checkbox helper question
I used scaffolding, then modified. As an after thought I added a "boolean" checkbox to my database, form with this tag <p> <%= check_box ''is_hot_item'', @photo.is_hot_item %> <label for="is_hot_item">hot item?</label><br> </p> I check it and save. But I don''t get 1 saved in my database field. :( I have just the
2008 Sep 18
2
Setting up Fleximage
Hello! I''ve been trying today to setup fleximage to handle photo uploads to a RoR application by following the tutorial that is provided (http://github.com/Squeegy/fleximage/wikis/gettingstarted) Originally, I just dropped in all of the sample code that they provided, which I copied below this question. - When I tried to access "new" to upload a new photo, I received an error
2006 Jun 06
8
How do I wrap a <%= link to %> around an image?
I''ve got a bunch of dynamically generated link paths that I want to use to link some dynamically-generated image paths. Specifically, I want to link thumbnails in a gallery to the larger images. But I''m stymied by Rails'' syntax. I can''t figure out how to do this. I tried this: <%= link_to(image_tag("../../images/photos/photo.photogroup/TN_
2012 Dec 05
1
nlme starting values are not the correct length
Dear R community, I am trying to fit an nlme model where I want to estimate the fixed effects of two treatments on the parameters on the following equation Photo~(a*(1-exp(-c*PARi/a)))-b I was able to fit a simple model without covariates following the method described in Mixed-Effects Methods and Classes for S and S-PLUS, version 3.0, but when I add the covariates, I get the error "