similar to: MySQL-Front question

Displaying 20 results from an estimated 3000 matches similar to: "MySQL-Front question"

2009 Aug 31
3
Migration - wrong SQL statement is created
Hi, I am doing my first steps with RoR and I have the following problem: I execute my migration file with the following content on a MySQL-database via Rake: <code> class CreateUsers < ActiveRecord::Migration def self.up create_table :users do |t| t.integer :id t.string :username, :size => 100 t.string :password, :size => 100 t.string :email, :size
2006 May 18
10
What IDE can be used with InstantRails
What IDE can be used with InstantRails I have installed ?InstantRails-1.3a-win? on my PC. When I first started the InstantRails, an error message said something about unable to start Apache because Port 80 being used by another process. I went to change the Apache Port 80 and List 80 to Port 4001 and Listen 4001 respectively. I was ratrher pleased that ?phpmyadmin? was working at
2007 Apr 15
1
help:How to set default value for a column use of migration?
hi,all.. Here i want to use of migration to create a table and set a defult value for a column..but i cant''t finished.. mycode: class CreateMessages < ActiveRecord::Migration def self.up create_table :messages do |t| t.column :name, :string t.column :content, :text t.column :posttime, :datetime, :default => "now()" end end def
2008 Jan 14
2
Possible bug in handling of HTML comments
It appears that Markdown will process ampersands contained within HTML comments if that comment is part of a markdown paragraph, but will not when that paragraph is contained within an HTML block of it's own (and therefore ignored by Markdown.) For example: This is a markdown paragraph with a comment that *will* be processed <!-- This & *will* be converted -->
2013 Aug 30
3
rspec-puppet not working
I''m trying to get rspec-puppet working and have run into a problem. I have a VM running ubuntu lucid, have installed rubygems 1.3.5 from the apt package and have install rspec-puppet (and other required gems), and rake, using gem install. I''ve run rspec-puppet-init in the module I want to test, and have created a very basic spec file for one of the classes in my module.
2013 Jul 10
20
puppetlabs-ntp template discussion
Hi guys, As I mentioned in a previous email I''ve refactored ntp and released a 1.0.0 release candidate. There''s one outstanding "flaw" remaining that''s bothering me and I wanted to solicit opinions on the list. We currently maintain a template per distribution that is close to the stock distribution provided ntp configuration. This leads to massive
2006 Mar 08
6
GD error...
Hi! I''m new in ruby/rails programming and i have a small problem. I have installed InstantRails 1.0 (for Ruby/Rails/Mysql/Apache envs) and I''m trying to make a small app working. I''m using auth_generator for making a login page/users admin pages... and I have a problem when trying to CHANGE the avatar for the user. I have the following error: MissingSourceFile
2007 Oct 24
7
NameError in CustomersController#index
I''m new to Rails. I finished the Cookbook tut. no problem. I''m trying to start a project of my own, follow the same instructions but the difference is I created the database myself. After I create the scaffolds and try them out I get this error NameError in CustomersController#index uninitialized constant Customer RAILS_ROOT: ./script/../config/.. Application Trace |
2006 May 22
4
RMagick gem problem using Rails and possibly WEBRick...
Hello, I am new to rails but have been having fun so far. Until now. I am sure this is just my inexperience but I have the RMagick gem (ruby gem for using imagemagick manipulation) installed on my machine that I would like to then use in my rails app. I first installed it and tried it out, and it didnt do anything for me, took me a while to realize I needed the windows RUBYOPT
2008 Apr 13
8
Brand new to rails: can't get databases to work
Just starting to learn rails. All is going well, until I tried to hook up a database. "undefined method `model'' for ZingerController:Class" is the message I get from the server. I imagine I''ve left something out that is keeping me from connecting to the database, but I''m not exactly sure what. Your help is appreciated. bests, -rsr- session dump:
2008 Mar 19
10
Network interfaces (and deleting them)
I''m in a bit of a pickle and I can''t work out a safe way to do something. I currently have a define called ip that I use to define network interfaces. The built in method didn''t seem to work, so I designed this to write out the /etc/sysconfig/network-scripts/ifcfg- ethX file. However, I started thinking about what if I decide to define an eth0:0 for some purpose, and
2006 Apr 27
11
Action Mailer Error!!!
What does this mean? Bad file descriptor - connect(2) -- Posted via http://www.ruby-forum.com/.
2007 Sep 04
4
Errors in executing first RoR app - reg.
Hi Friends, I am brand new to RoR.Kindly help me with the following problem. Following are the steps i have done. 1) C:/> rails appone 2) C:/> cd appone 3) C:/appone> cd script 4) C:/appone/script> ruby generate controller appone index 5) Edited C:/appone/app/controllers/appone_controller.rb class ApponeController < ApplicationController def index time = Time.now
2008 Jun 19
3
New release RubyStack for Windows / includes git
Hi, Just thought I would let the list know of a new release of RubyStack for Windows, since there is a lot of overlap in functionality and may be of interest to some of you also using OS X and Linux. Please let me know if it is inappropriate. Like InstantRails, RubyStack is an open source, self-contained distribution of Ruby on Rails that is easy to install and use. It runs on Windows, Linux and
2008 May 18
9
When should you restart a ruby server?
Hello everyone, While walking through AWDWR, Task D: Add a Dash of AJAX, I was initially unable to let the AJAX magic work. Hitting the Add to Cart button doesn''t yield to any output on its own; I had to manually refresh the pages to witness the change. But when I tried to restart the ruby server, and load the application again, everything worked fine. Any explanations to behavior
2010 Sep 02
7
unable to upload larger files
hii, i am trying to upload some files to filesystem using rails application when i use small size file everything is perfect but i when goes for larger files i got error this is my code #this model file class DataFile < ActiveRecord::Base def self.save(upload) name = upload[''datafile''].original_filename directory = "//192.168.147.17/Smruti/streams" #
2006 May 26
7
Instant Rails and your own applications
Hi, I want to make an open source rails project as easy as possible to install. Can I use Instant Rails for this? I treid to look at the FAQ but could not see this was possible. Ideally I would like to have Instant Rails install Ruby, Rails, MySql, etc and then have it add my application and add the mysql user (could be just root also) and then the sql for creating the tables. Sound like fun
2009 Jan 09
14
undefined local variable or method `current_user' for
Hi All, I am using a Plugin mdarby-restful_acl with restful_authentication and I am following the procedure form http://github.com/mdarby/restful_acl/tree/master , but I am getting some irritating error "undefined local variable or method `current_user'' for", I know I am missing something but I dont know what? Can anybody help me regarding this? Shahroon
2006 Mar 13
2
Engines with InstantRails
I''ve recently started playing with InstantRails 1.0 and am now wanting to experiment with the Login and active RBAC engines but having trouble getting them to install. I''ve checked the following but can''t find any info on how to get it to work. http://rails-engines.org/wiki/pages/Engines+plugin I''ve also tried the following:
2007 Jan 06
2
S3 throwing invalid argument using AWS S3 API
Hello, Im using the following amazon web service API for S3 : http://amazon.rubyforge.org/ The problem is that after I establish a connection using establish_connection!, and try using the "store" command, I keep getting the following error. However, if I reboot my webrick server, it works fine for about one hour and then starts throwing this error: Errno::EINVAL in