search for: johnt519

Displaying 20 results from an estimated 26 matches for "johnt519".

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 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 19
1
Question on creating a report
Hi, I''ve got a little Rails app, and I wanted to generate a report from some data. I did it one way, but it didn''t seem quite "Rails". I created two methods in a controller, one called "report" that was empty: def report end that would just then display the report.rhtml page. This page contained a form tag with a text box and a submit button. This form
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
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 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/.
2006 Mar 04
5
SQlite3 hoopup issues on mac os x
friends of the int-arweb. what does this mean: (in bold) ActiveRecord::StatementInvalid in Contact#create SQLite3::SQLException: SQL logic error or missing database: INSERT INTO contacts Context: this happened after I had finished setting up RoR as per the tutorial at http://maczealots.com/tutorials/ruby-on-rails/ the database, is like, there. is there a nice ruby command like deal to
2006 Jun 28
15
Its here! RubyGems Release 0.9.0
Read about it here: http://rubyforge.org/forum/forum.php?forum_id=7575 -- Posted via http://www.ruby-forum.com/.
2006 Jun 27
25
1.1.3 available.
Hello, DHH has just announced the release of Rails 1.1.3 http://weblog.rubyonrails.org/2006/6/27/rails-1-1-3-security-fix-and-minor-fixes rails-1.1.3 activerecord-1.14.3 actionpack-1.12.2 actionmailer-1.2.2 actionwebservice-1.1.3 The announce without the repetition :) "Rails 1.1.3: Security fix and minor fixes Posted by David June 27, 2006 @ 08:07PM We''ve found and fixed a
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 Feb 05
0
Question about re-using entry form when a validation error occurs
Hi, I think I may be doing more work than necessary. I have a form that is used in both my "New" and "Edit" pages (originally created by a scaffold.) In my form, I have several popups that I have to populate, and if on the Edit page, selects the appropriate entry. To build the popup menus, I''m using: <%= options_from_collection_for_select(@teams,