similar to: No Migration Files are created

Displaying 20 results from an estimated 1000 matches similar to: "No Migration Files are created"

2011 May 06
1
scaffold didn't work
i am using rails -v 3.0.7.when i tried "rails generate scaffold try name:string number:decimal" , it gave following error message invoke active_record /usr/lib/ruby/1.8/yaml.rb:133:in `load'': syntax error on line 7, col 2: ` pool: 5'' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load'' from
2011 Sep 13
3
Accessing Rails helper method with_output_buffer
Hi all, I cannot figure out how to correctly use the with_output_buffer helper method (located in ActionView::Helpers::CaptureHelper) inside a custom FormBuilder. Below follows a simplified example. I''m trying to achieve the following behavior in an ERB as suggested in the form_for helper docs in the Rails source: ========== <%= form_for @object, :builder => MyFormBuilder do
2012 May 31
14
How install libv8 (therubyracer) Windows 7
Hello, I have a problem when I try to add the gem therubyracer. I put in my prompt: bundle install, and this error appears: C:\rails\organily>bundle install Fetching gem metadata from https://rubygems.org/......... Using rake (0.9.2.2) Using i18n (0.6.0) Using multi_json (1.3.6) Using activesupport (3.2.3) Using builder (3.0.0) Using activemodel (3.2.3) Using erubis (2.7.0) Using journey
2013 Oct 20
1
cannot load such file -- unicode (LoadError)
I''m new to RoR and working on a migration of project developed by another team. I''m using Rails version (3.2.13) and my bundle install works successfully. However while running "rails server", I get the error below. Any suggestions are most appreciated. Thanks! -------------- rails server output --------------
2013 Jul 13
1
Rails and MySQL
I''m trying to use MySQL instead of SQLite3. I have MySQL installed on my pc. Do I need to ran something in the ruby to use MySQL? C:\>rails new MySQLRestaurant --database=mysql C:\>cd MySQLRestaurant C:\MySQLRestaurant>rails generate scaffold review poster:string date:datetime ar ticle:text C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/l
2012 Aug 28
16
rail s exiting
Hello everyone, I am fairly new to ruby on rails, and I come across this tutorial on treehouse where they help you make a simple version of facebook. anyway, I was writing codes, and I came across this error and I am not sure how to fix it. The error occurs after I type in rail s on the command prompt and as soon as try to look at how it looks on 127.0.0.1:3000, it gives me this error. the
2011 Feb 21
1
authlogic problem
I can''t get authlogic to work. (https://github.com/binarylogic/authlogic) i''ve installed it, i''ve put the following in environment.rb: config.gem "authlogic" ''gem list'' gives: *** LOCAL GEMS *** abstract (1.0.0) actionmailer (3.0.3, 2.0.2) actionpack (3.0.3, 2.0.2) activemodel (3.0.3) activerecord (3.0.3, 2.0.2) activeresource (3.0.3,
2013 Apr 16
2
An error occurred while installing jk-ferret (0.11.8.3), and Bundler cannot continue.
*Hi guys.. i got this type of error when i configured Gemfile then what to do?* gem "thinking-sphinx" gem ''ferret'' Updating git://github.com/mark-moseley/linecache Fetching gem metadata from https://rubygems.org/....... Fetching gem metadata from https://rubygems.org/.. Resolving dependencies... Using rake (10.0.3) Using ClothRed (0.4.1) Using RedCloth (4.2.9)
2013 Jun 21
7
IRB help
I''m new to Ruby. I installed Rails on Windows 8. When I type mkdir in IRB, I''m getting this. I tried running the IRB as administrator too, and still get the same result irb(main):001:0> mkdir lesson2 NameError: undefined local variable or method `lesson2'' for main:Object from (irb):1 from C:/RailsInstaller/Ruby1.9.3/bin/irb:12:in
2012 Jun 11
10
installing ruby on rails 1.9.3 on windows 7
m sorry its a totally newbie question, but m really stuck. please help if possible. after installing everything required to run ruby on rails when i write the command ''rails s'' in the command prompt it doesn''t start the server. rather it shows : C:\Sites\railsinstaller_demo>rails s C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/run
2012 Mar 21
2
aws-s3 gem install error- bittorrent.rb
Hello, Am running build install on an existing project and I get this error: Installing aws-s3 (0.6.2) Errno::EACCES: Permission-denied - D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/aws-s3-0.6.2/lib/aws/s3/bittorrent.rb An error occured while installing aws-s3 (0.6.2) and Bundler cannot continue, make sure that gem install aws-s3 -v ''0.6.2'' succeeds before bundling.
2013 May 31
22
accidentally created a rails app in the home folder
Im a new user - I just installed rails, following directions here: http://rubyonrails.org/download however, when it came time to make a rails new path/etc/etc I get this message: Can''t initialize a new Rails application within the directory of another, please change to a non-Rails directory first. The only complication during the download was that I had to upgrade from version 1.8.6 to
2009 Jan 13
3
Postfix header check help
Hi list, I have a requirement for a mail server that only allows email to pass with a particular word in the subject line. Reading the header checks docs for Postfix I thought I may be able to add this rule: !/^Subject: .*dingdong/ REJECT Need to add dingdong to subject line to send Which should reject all mail unless the subject line contains "dingdong". Unfortunately this seems to
2011 Mar 16
19
Uninitialized constant Files::Magick -still around
Hi there, I''m solving the problem about the plugin Magick. In my app in Gemfile I''ve follwoing: require ''rubygems'' require ''mongo'' require ''RMagick'' include Magick and in a model Files: class Files def self.save(upload) ... img = Magick::Image.read(''public/data/nature6.jpg'').first end end
2014 Apr 14
0
Foundation & Authlogic
Seems I can get either Foundation or Authlogic to work but not both - After bundle install when I do a rails g foundation:install I get the following: C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-4.1.0/lib/acti ve_record/dynamic_matchers.rb:26:in `method_missing': undefined local variable o r method `inheritable_attributes' for ActiveRecord::Base:Class (NameError)
2005 Nov 16
4
What happened to mysql connection?
I''ve been using Rails for more than six months and until today I had no problem with mysql connection. It''s a Mac OS X 10.4 box having rails installed and updated by gem. I use a remote mysql server no local instance installed. Here''s my config: development: adapter: mysql database: hdchat host: 10.0.0.1 username: webuser password: test: adapter:
2012 Oct 09
0
[Win7 x64] Encoding::UndefinedConversionError after installing when using gem and rails
Hello, after installing the RailsInstaller i got the following error: C:/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/defaults.rb:57:in `exist?'': "\x81" to UTF-8 in conversion from Windows-1252 to UTF-8 (Encoding::UndefinedConversionError) from C:/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/defaults.rb:57:in `default_path''
2012 Jun 09
0
custom_require.rb:36:in `require': 193: %1 is not a valid Win32 application
I just installed rails using Rails installer. and when I ran the following code: > rails new blog > I got the following errors: F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/custom_re quire.rb:36:in `require'': 193: %1 is not a valid Win32 application. - F:/dev/r uby/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/i386-mingw32/digest/md5.so (LoadErro r)
2011 Sep 19
27
Installing Rails Help!
Hi, I followed a Tutorial on Nettuts to install Ruby with RVM and this went well. I then tried to install Rails to follow the ''How to build a dropbox live service'' from Netttus but appear to get errors can anybody help?. Once I installed rails I created a new rails project using the command (Rails new sharebox -d mysql) This worked and created the folder structure. I then
2005 Aug 04
2
Trouble in Joining Suse 9.3 to Win2k3 Server
Hi, After installing Suse 9.3 Professional, I am unable to join it to AD. >From the Docs ( http://www.samba.org/samba/docs/man/Samba3-HOWTO/domain-member.html#ads-member) its clear that we need to first get a kerberos ticket... via #>kinit Administrato@REALM in Suse9,3, I get this error susles93WSA:~ # kinit Administrator@HUNGERFORD.KOL Password for