similar to: Question on creating a report

Displaying 20 results from an estimated 2000 matches similar to: "Question on creating a report"

2006 Apr 30
3
Problem(?) updating gems - mysql gem
Hi, On OS X (10.4.6), Rails 1.1.2... I tried doing a sudo gem update, and this is the result I''m getting: Upgrading installed gems... Attempting remote upgrade of mysql Attempting remote installation of ''mysql'' Select which gem to install for your platform (powerpc-darwin8.6.0) 1. mysql 2.7.2006.04.21 (mswin32) 2. mysql 2.7 (ruby) 3. mysql 2.6 (ruby) 4. mysql
2006 Apr 04
6
Replaced Rails Package with HiveLogic Install - problems
Hi, I''ve got a strange problem. I had initially installed Rails using Tony Arnold''s package: <http://www.tonyarnold.com/articles/category/rails> and that worked fine. (on OS X, obviously). I then decided to reinstall using the instructions on the HiveLogic page, to get Ruby 1.8.4: <http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger> That
2006 May 25
5
Model Structure Advise
Hi, I''m starting to build a simple (?!) FAQ system, and I''d like some advice on setting up the model relationships. I was going to go with a simple system of a Category table and a FAQ table (holding questions and answers) - where one FAQ belongs to one category. That''s all nice - a simple has_many / belongs_to relationship. Then I decided to add another level - Area.
2006 Apr 14
18
RJS Templates & Safari?
Hello, I tried Cody Fauser RJS tutorial (http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates) on my railsplayground dev site and got it to work when using Firefox, but when I tried it on Safari, nothing happens. Then I tried this tutorial - http://rewrite.rickbradley.com/articles/2006/02/06/rjs-templates Similarly, it works fine on Firefox... but with Safari the list is not
2007 Feb 23
4
How can I spec this? The method gets passed a block...
I''m using Jim Weirich''s Builder library. The code I want to spec is xml.video do xml.id @video_id xml.views @views xml.date(@date.to_s) if @date end I''d like to mock it, rather than asserting that the XML is the right string. I can do one spec: specify "should create a video tag" do @mock_builder.should_receive(:video)
2006 Mar 23
4
Error with Rails 1.1RC1 and Properties page
I just tried setting up a simple Rails app, after updating to the 1.1RC1 version of Rails. Generating a simple scaffold worked fine, and WEBrick started fine with script/server. I then went to the http://localhost:3000 page and clicked on the "About your application''s environment" link, and an error was displayed: NoMethodError in Rails/info#properties private method
2006 May 23
2
RFC - Ruby on Rails / jEdit (Blog Posting)
All, Request for Comments. I''ve attempted to collect and clarify a few things in the spirit of documenting things. To that end I''ve worked on a blog posting starting from scratch for a windows box and getting Ruby, Rails, and (my new favorite editor jEdit) install. Probably nothing new, just a consolodation of information.... # Prerequisites # Install Ruby # Install Rails #
2006 Apr 06
1
Strange message in fastcgi.crash.log
Hi, I just installed Ruby 1.8.4 and Rails using the HiveLogic instructions (I had been using Locomotive, and decided to make the big leap). Everything seems to go well, I set up a simple test app and it does run using script/server (using a sqlite3 database). I am noticing that when I use Control-C to stop the server, I''m seeing this message in the fastcgi.crash.log file:
2006 Mar 23
1
Using ImageMagick with Locomotive
Hi, I''m trying to use the routines on this page: <http://addictedtonew.com/archives/127/rotating-images-with-rmagick-and-ruby-on-rails/> to try and rotate some images. I tried using the script/console to do some testing, - I know ImageMagick is working, as I''m using the filecolumn plugin to resize images as they are loaded. When I try, using the console, to rotate an
2006 Mar 28
2
Rails 1.1 and Rails 1.0 gems
Firstly, Congrats to the Rails team for the 1.1 release! I installed Rails using the package created by Tony Arnold, referenced here: <http://tonyarnold.com/articles/2005/08/10/rolling-with-ruby-on-rails-on-mac-os-x-tiger-for-beginners> I did the upgrade to Rails 1.1 and all went well. Now, however, I seem to have two sets of gems installed. Doing a ''gems list'', I see:
2006 Jan 31
1
Updating :has_many - :through related items
Hi, I''ve got my little app working pretty well. I''m using pretty much the model and table layout from my previous thread, as suggested by Bill Katz: <http://www.ruby-forum.com/topic/52506#26260> I have the Create page working and a delete Match page working, which along with the appropriate record in the Matches table, removes the linked items in the competitions table.
2006 Mar 26
10
How to delete a uploaded file with file_column plugin?
Hi, sounds somehow stupid, but I can''t get rid of my files that I uploaded into my application via the file_column plugin. Any suggestions? Cheers Thomas -- Posted via http://www.ruby-forum.com/.
2012 Jun 21
6
where do I report this DateTime bug?
I have isolated what appears to be a bug in the Rails extensions to DateTime, but I don''t know where to report it. I have a standalone file to demonstrate the bug, but the punch line is that this code: TestRecord.create!(:f_datetime => (expected = DateTime.jd(2000000))) found = TestRecord.first.f_datetime puts("expected == found => #{expected == found}")
2008 May 09
1
register_status for excess thread_pool?
Hi, Newbie here. I''ve got a worker (for generating PDF reports) that uses the "thread_pool" to allow processing multiple reports simultaneously and queue up any requests that exceed the thread pool (pool_size = 10 currently). def process_pdf(user) thread_pool.defer(user) do |user| makepdf(user) end end My question is: I use a mutex to handle
2006 May 12
12
Anyone tried the recent Mac OS X Security update?
It includes a patch for Ruby. I have already installed 1.8.4 from source, and updated my PATH to look in /usr/local first, so I don''t imagine that anything Apple does to "their" copy of Ruby will have any impact on me, but I''m wondering if the changes to their Ruby is something that needs to be done to 1.8.4 as well. Thoughts? Walter
2006 Mar 17
3
How to check for presence of particular value entered ?
Hi, I am entering value in textbox ("name") on form. Now name field in database is having ''unique'' constraint on it so that no 2 records with same name allowed in database. Now when I m trying to enter same name into database from my form I m getting following error. ================================ Mysql::Error: #23000Duplicate entry ''Prashant''
2006 Jun 17
4
Textmate Madness
Has anyone come across this problem... I created some Ruby files in Textmate on my Mac - and everything works fine. However, when I run those files on a Windows machine I get e.g. compile error ./script/../config/../app/views/station/consumption/new.rhtml:2: Invalid char `\002'' in expression ./script/../config/../app/views/station/consumption/new.rhtml:4: parse error, unexpected
2006 Apr 14
3
Boston Rails work/Meeting Railers
Hey all, Been working with/excited about Rails since November, when I quit working for The Man in order to freelance. Have a couple of Rails projects completed. Having worked with web app dev since 1999, it''s been a breath of fresh air. Now I''m at a point where I need to meet more people in person that are excited about Rails, or are interested in working on Rails projects in
2006 Apr 24
3
TimeStamp conversion
Hi, I''ve got a TimeStamp field in MySql and want to use the hour and minutes in the value. for example: StartTime = Schedule.find(action2.ScheduleID).DateTimeStart.to_s That returns "Mon Feb 20 08:00:00 Romance Standard Time 2006" How do I get 08:00 returned ?? Thanks ! Steven. -- Posted via http://www.ruby-forum.com/.
2003 May 16
4
[RFC] report options
I have hinted in the past of wanting to go to a more selective control of the output of rsync. Here it is. PROBLEMS with the existing --verbose et al. The simple incrementing verbose doesn't allow one to restrict stdout to what actually is of interest. For instance inside dirvish i don't care about directories, or any kind of non-regular file because they show up every time even if