similar to: how can I create formated reports?

Displaying 20 results from an estimated 30000 matches similar to: "how can I create formated reports?"

2006 Aug 16
3
Question RE Rails associations
Hi, I am new to Ruby and Rails programming and am having difficulty with the following scenario... Consider the following model: class Studio < ActiveRecord::Base has_many :movies has_and_belongs_to_many :actors end class Movie < ActiveRecord::Base belongs_to :studio has_and_belongs_to_many :actors end class Actor < ActiveRecord::Base has_and_belongs_to_many :studios
2009 May 12
4
has_many :through and scopes: how to mutate the set of associated objects?
I have a model layer containing Movie, Person, Role, and RoleType, making it possible to express facts such as "Clint Easterbunny is director of the movie Gran Milano". The relevant model and associations look like this class Movie < ActiveRecord::Base has_many :roles, :include => :role_type, :dependent => :destroy has_many :participants, :through => :roles, :source
2006 Aug 17
1
More on n-way.
Hey, i found some n-way threads on the list, but I think they don`t solve my case, or I didn`t understand how all of it works. I''m new to Rails, so be pacient. :) I''ll use an example of movie catalog, I''m realing doing a kind of movie catalog, for laerning rails, and I did this: Models: Movie, Actor, Director, Writer, Country, Language The Movie model HABTM Actor,
2006 Jan 21
7
n-way joins
Hi, I''m somewhat of a Rails newbie and am trying to understand how to formulate n-way (3 or 4 way) joins in Rails (where the join tables contain extra data as well.) Let me give you my basic entities: foos id - pk name - unique bars id - pk name - unique bazs id - pk name - unique frozs id - pk name - unique then i have two separate join tables: foos_bars_bazs - 3 way join
2006 May 05
8
pdf/writer: table.render_on best practices?
Hi All, I generate a pdf report that contains a table. The report is 14 pages, and it takes 20s to be rendered. Most of these 20s are spend in the render_on method. I wonder if it is possible to speed up that process? To create the report, I do the following: 1) Setup pdf layout: # Setup pdf layout pdf.select_font("Helvetica", { :encoding => "WinAnsiEncoding"})
2006 Apr 20
3
How to restrict access to images by user?
Hi, I have a some image files that belongs to some users. Only the owner of an image should be able to see it. How can I do that? I don''t think I can use send_data, because I want the image to be displayed on a "rendered" page. I don''t think I can place the images in the public folder, because if some user can figure out the name of the image then he''ll be
2006 Dec 13
6
triggering a query within a loop
Any help with this would be very appreciated, I''m completely new to rails. I''m building an application that''s looking to do the following: First off i''m trying to convert my site from ColdFusion to RoR, this is the site: http://www.walkenclips.com/ It''s one page that basically does this: Query the db to get a list of movies (movies table) Loop
2007 Apr 25
2
Flash Skin and Rails View Issue
Hi, I have an issue embedding a flash movie into one of my rails views. /movies/index.rhtml embeds /resources/movies/episode1.swf and episode1.flv e.g index.rhtml includes: <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="320"
2007 Jun 20
1
Branch 'as' - libswfdec/swfdec_graphic_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite_movie.c
libswfdec/swfdec_graphic_movie.c | 35 +++++++++++++++++++++++++++++++++++ libswfdec/swfdec_movie.c | 3 +++ libswfdec/swfdec_movie.h | 2 ++ libswfdec/swfdec_sprite_movie.c | 13 ++++++++----- 4 files changed, 48 insertions(+), 5 deletions(-) New commits: diff-tree 255d2e184bae07fbcd9db8a906450a21e0f687c7 (from 9ed04d23be28c9dd349a2f5024546c465d09da96) Author: Benjamin
2006 Feb 28
7
windows sqlite client?
Hi all, Does anyone know a good windows client for sqlite 3? typical use is create and modify tables and export creation queries. Thanks, Nicolas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060228/363834cf/attachment.html
2006 Mar 31
7
Checkboxes expand to show new options when checked?
I''m writing a simple CMS where every item ("listing") HABTM categories and subcategories (which themselves belong_to a category). What I''m trying to do now is create a UI effect for listing creation: when you go to create a listing, only the possible categories will be shown, but when you select a category a set of new categories will be displayed like so: Lions
2023 Dec 27
1
User doesn't have write access to directory
I have a user that is a member of a group that should have write access to a directory but they cannot write to the directory. $ la | grep Movies drwxr-xr-x 345 *HOME\movie editors* HOME\movie users 36K May 22 2023 *Movies* $ id testuser uid=3000038(HOME\testuser) gid=100(*users*) groups=100(users),3000038(HOME\testuser),3000026(HOME\photo users),*3000031(HOME\movie
2023 Dec 28
1
User doesn't have write access to directory
On Wed, 27 Dec 2023 17:22:21 -0500 Rob Campbell via samba <samba at lists.samba.org> wrote: > I have a user that is a member of a group that should have write > access to a directory but they cannot write to the directory. > > > $ la | grep Movies > drwxr-xr-x 345 *HOME\movie editors* HOME\movie users 36K > May 22 2023 *Movies* > > $ id testuser
2011 Jun 07
1
rgl: insert pauses in animation sequence / movie formats other than gif?
Two questions related to creating animated movies with rgl: 1. I've created an rgl scene with 5 different views I want to display in a movie, but I'd like to insert pauses (say, 5 seconds) at each view. How can I do this? I first created 5 userMatrix's, then play3d( par3dinterp( userMatrix=list(M1, M2, M3, M4, M5)), ,duration=2*60/5) ) then tried simply repeating each twice,
2012 Oct 21
5
Error occured while evaluating nil
This is the code if !params[:ratings].nil? params[:ratings].each_key do |r| @selected_ratings << r @movies << Movie.where(''rating = :rating'', :rating => r) @sort = params[:sort] end elsif @selected_ratings = @all_ratings @movies = Movie.order(@sort) @sort = params[:sort] end This is the error You have a nil object
2009 Mar 06
1
questions
Hello, I have some questions about the library. First, I would like to be able to get how many frames in a movie, skip to a given frame, and render one selected frame. Looking at the API, I see that there are functions for this in swfdec_sprite_movie.h. But I don't see how I can get to those functions starting from a swfdec_player. Second, there are some movies that are collections of
2005 Sep 11
1
Syslog file size
Not possible to do natively Write a script yourself to monior it's size and invoke logrotate to rotate it when that size is reached. And cron your script however often you want (ie 10 times a day?) -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of YT Lim Sent: Monday, 12 September 2005 1:01 PM To:
2004 Jun 18
5
Slowdown on lots of motion
I'm playing the "Honey" movie (both Honey-small and Honey-large) and I notice significant slowdown during periods of lots of motion (when the camera shakes, when the first man hops into bed, when people turn around and approach the camera, etc.). The audio plays smoothly all the time but when there is a lot of motion, the picture freezes and resumes when there's less motion.
2012 Jul 26
2
Get XML or JSON data from api into data frame
Dear all, I am new to R in general and ways to retrieve XML or JSON data in particular. I have tried to get information through the XML package and various websites without being able to do exactly what I want. I hope someone of you can give me some help. I want to retrieve information about movies from IMDB or rather the unofficial api, www.imdbapi.com. I have a vector with a lot movie-ids
2006 Dec 17
2
Route generation and clash prevention
Let''s say you''re building a movie rental website. You have customers, movies, and rentals to manage. REST style urls might look like this: /customers/4 /movies/15 /rentals You''d probably also want administrators to be able to view all of the rentals done by a particular customer, and other similar details: /customers/4/rentals /movies/15/rentals /rentals/529/customers