Displaying 3 results from an estimated 3 matches for "createreport".
Did you mean:
create_report
2010 Sep 27
1
Incorporate graphic files into R-package
Hi,
I am working on a package which will be used to generate reports using
Sweave. The createReport() function should create a folder and Rnw/tex-files
automatically. The reports should, however, also feature the company logo. I
don't want to have to manually copy the image file into the folder each time
a report is created. I don't know if it is possible or not but I would like
to someho...
2007 Sep 24
3
Trouble using backgroundrb
...cannot find the
worker object. Here''s my code:
-------------------- controller app/passwd/index --------------------
class Passwd::IndexController < ApplicationController
layout ''default''
def index
$subtitle = "AIX user inventory tool"
end
def createReport
Passwdentry.delete_all
User.delete_all
session[:job_key] = MiddleMan.new_worker(:class => "passwd:get_passwds_worker", :args => "")
end
def get_progress
if request.xhr?
progress_percent = MiddleMan.get_worker(session[:job_key]).progress
ren...
2008 Apr 23
2
Table Unknown - SCHEMA_INFO
...lp from this group I''ve used Dr Nic''s Magic Models to get RoR
talking to the database.
However, I wish to create a new table ("reports") in this database,
and so generated the scaffold such that the file "db/migrate/
001_create_reports.rb" is as follows:
class CreateReports < ActiveRecord::Migration
def self.up
create_table :reports do |t|
t.string :name
t.string :description
t.string :location
t.timestamps
end
end
def self.down
drop_table :reports
end
end
When I attempt to migrate this (rake db:migrate), I get the fol...