search for: satterwhit

Displaying 19 results from an estimated 19 matches for "satterwhit".

Did you mean: satterwhite
2006 Aug 06
4
Can''t run rails
Yesterday, I was having a problem with db:migrate. I was told my version of rails was too old, and I needed to install it from gems instead of the version in my version of Ubuntu. Since then, I''ve done that, and I built ruby 1.8.4 from source and installed it. The installation was to /usr/local/bin. As my distribution had put ruby 1.8.3 in /usr/bin, I renamed that and put a link to
2010 Aug 23
4
Segmentation Fault
Once more, with feeling. I''m trying to implement using xrc_replace so as to use a RichTextCtrl in a form created by FormBuilder. The problem is that I can''t even create a RichTextCtrl. When I try to, I get a segmentation fault. I''ve attached the files that are causing this. I''m running wxRuby on a box running an up-to-date PCLinuxOS distro. I''ve
2006 Aug 05
5
error with db:migrate
I''m new to ROR, and am working my way through the Agile Web Development Book. In the test application, the authors tell me to test my database connection by performing "rake db:migrate". When I do, I get the error "Don''t know how to build task ''db:migrate''" I''ve been looking around at the files, and I see a reference to a
2006 Aug 09
2
Ruby 1.8.5 Warnings in Rails
I have ruby 1.8.5 installed. Everytime I enter a rails command, I get a long stream of warnings telling me that the colon is being obsoleted, that a semicolon should be used instead. Does anyone know how to stop these warnings from coming up? They get in the way of real messages from rails. tia ---Michael -- Posted via http://www.ruby-forum.com/.
2006 Oct 06
3
params 101
This is incredibly basic, but... I have a form that has fields defined for password and password_confirmation. it is passing in the following data Parameters: {"commit"=>"Change Password", "admin"=>{"password_confirmation"=>"beagle", "password"=>"beagle"}, "id"=>"3" I thought that
2009 Apr 11
1
Wx::Timer
I want to process and event at regular time intervals. It appears that Wx::Timer should do the job, but I haven''t been able to figure out how to use in in wxruby. The documentation for this is still for C++. I''ve tried the following: (In my form class''s initialize method): @timer = Wx::Timer.new evt_timer(@timer.id) {|event| onTimer(event)} @timer.start(1000)
2010 Aug 12
2
wxRichTextCtrl not Working through wxFormBuilder
I''ve used wxFormBuilder to put a wxRichTextCtrl on my form. After doing this, I run xrcise and try to use the control. The variable for the rich text control is a FixNum. On examination, I saw that the class name in the xrc file is "unknown". Is there no way to use this control without manually laying out the controls - or writing this routine in C++? Does anyone know a
2005 Apr 21
1
Backward compatibility
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The latest version of rsync apparently can't talk to version 2.5 clients. When I tried connecting, I got an error message that the client needed to be upgraded to use more modern protocol. Was this intentional? As I can't change the version of rsync on the client side, I had to downgrade my version of rsync to connect to them. - ---Michael
2005 Dec 17
1
Stuck in read-only mode
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm running Samba on Ubuntu linux. I'm trying set it up so that my Windows laptop can use my home directory on the linux box. I've configured the home directory as follows [home] case sensitive = no msdfs proxy = no read only = no username = michael comment = My home directory path = /home/michael When I try to write to the file on my
2006 Nov 07
2
find_by_tag
What exactly is find_by_tag for? The rails documentation doesn''t really give a description of what it does. I tried doing a search for find_by_tag (and find_all_by_tag), but nothing turned up. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2008 Mar 12
1
Ordering across related tables
I have two related tables: groups and categories. In the models, Group has_many "categories" Category belongs_to :group Category does have a column, "group_id" as required. Both the groups and categories tables have a "sortorder" column which dictates the order the items are to be presented. In my controller, I want to retrieve the Categories
2009 Apr 02
1
Controlling vertical position
First, I want to thank everyone here who''s been helping me learn wxRuby. The biggest problem I''m having is getting the layout of a screen right. Right now, I have a dialog with several controls on it. With one exception, it looks good. I''m using wxFormBuilder and Xrcise to do the generation. I''m using nested box sizers to try to get things into the right
2006 Aug 13
3
Why isn''t log working (Pragmatic Programming book)
I''m working my way through the Pragmatic Programmer book on RoR. Following their examples, I have the following code in a controller: begin @product = Product.find(params[:id]) rescue flash[:notice] = "Invalid product" logger.error("Attempt to access invalid product #{params[:id]}") redirect_to :action => :index else @cart = find_cart
2006 Oct 06
4
HABTM question
While the habtm model for rails is very easy to use, some tables don''t seem to fit easily into that structure. The problem is that the link is (I believe) always done on the id column. One common table in a lot of databases is a state codes table with one column for state code, another for state name, and possibly others for different things about the state. Other tables that have
2006 Aug 08
0
Rails patches
I just got rails fully installed, and I''m seeing the string of warnings about using a semicolon instead of a colon. I''ve checked, and supposedly there is a patch for this ... but a newbie like me doesn''t have a clue where to look for the patch - or what to do with it once I find it. Would someone be so kind as to educate me. As new as my version is, I''m
2006 Nov 30
0
Can't connect to vfat Share
I'm using Samba on Fedora Core. I have two Samba shares setup. The one in an ext3 partition works fine from the Windows computer. I can't connect to the other (on a vfat partition). I have no idea whether or not it's significant that the partition is vfat, but I wanted to include the information to be complete. In smb.conf, I have the partition set up as follows: [remwindows] case
2006 Sep 02
0
Database "double" data type
I''m sure this has been asked / answered before, but I couldn''t find it in the forum search. What is sthe rationale for not supporting a column type of double? I would have expected it to do so along with float - which it does support. Also, does anyone know if / when double might be supported? Thanks in advance for satisfying my curiosity. ---Michael -- Posted via
2010 Jul 12
0
Having problem with ckeditor rubygem
I''ve installed the ckeditor gem. I''m running rails 2.8.3 and have followed the steps in the README file for the gem. Everything seems to run without error through the <%= javascript_include_tag :ckeditor %> - except that to make it work I have to replace :ckeditor with "ckeditor". When I try to use the helper: <%= ckeditor_textarea("object",
2009 Apr 03
2
Problem with spacing
I''m having the devil''s time trying to get things laid out correctly. I''ve attached a screenshot so that you can get an idea of what I''m seeing. I''ve got a very unattractive space under the two combo boxes, and another one under the buttons. I don''t understand how to reduce this. I know it''s impossible to guess what idiocy I might have