similar to: How to disable ORM in Rails 3

Displaying 20 results from an estimated 9000 matches similar to: "How to disable ORM in Rails 3"

2010 Jun 11
5
Issues creating tables in mysql tests
Hello, I''m a beginner, so any hints are appreciated; I''m still trying to find my way around Rails code. For a bug I''ve found I need to create a table called "values" so I added this: create_table :values do |t| t.integer :value end among the other table creations in activerecord/test/cases/migration_test.rb. Is that ok? But then, when I run the tests
2010 May 10
6
feedback on a few ActiveSupport::Multibyte patches
Hi all, In response to Rodrigo Rosas''s message about mb_chars.upcase not giving the expected result on 1.9, I''ve done some work in a fork to make String#mb_chars always return an instance of a proxy class, both with Ruby 1.8 and Ruby 1.9. The end result of the patch is (hopefully) to make Rails'' multibyte functionality behave the same way in 1.8.7 and 1.9.x.
2010 Jun 25
5
Error installing gems for Rails 3.0.0.beta4 on MacOSx
I tried to install Rails 3 Beta in my snow.leopard machine using the command below: (w/ sudo if it requires) gem install tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler i18n unfortunately after 12 gems installed i got an error regarding builder-2.1.2 12 gems installed Installing ri documentation for tzinfo-0.3.22... Installing ri documentation for
2013 Feb 26
5
Can't upgrade to 4 beta 1
I had to update several gems for Bundler to accept it but now I''m stuck: bundle update rails devise knockoutjs-rails sass-rails coffee-rails devise-encryptable oojs Fetching gem metadata from https://rubygems.org/....... Fetching gem metadata from https://rubygems.org/.. Resolving dependencies... Bundler could not find compatible versions for gem "railties": In Gemfile:
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
2012 Oct 18
3
Issues upgrading RSpec
My specs work fine with this in my Gemfile.lock: grep rspec Gemfile.lock rspec (2.11.0) rspec-core (~> 2.11.0) rspec-expectations (~> 2.11.0) rspec-mocks (~> 2.11.0) rspec-core (2.11.0) rspec-expectations (2.11.1) rspec-mocks (2.11.1) rspec-rails (2.11.0) rspec (~> 2.11.0) rspec-rails (~> 2.11) After "bundle update
2012 Aug 08
5
Error Bundler
Any body can help me! i try create a new project, at the end i had message error bundler. root@xxx:/home/xxx# rails new depot_b create create README.rdoc create Rakefile create config.ru create .gitignore create Gemfile create app create app/assets/images/rails.png create app/assets/javascripts/application.js create
2010 May 08
19
mb_chars.upcase and Ruby 1.9.2
I''m testing ruby-head through rvm but can''t get ''ação''.mb_chars.upcase == ''AÇÃO''... I get ''AçãO'' instead... This happens both for Rails 2.3.5 and Rails 3 beta 3... How can I get upcase to work correctly? Thanks in advance, Rodrigo. -- You received this message because you are subscribed to the Google Groups "Ruby
2010 Jun 15
8
Allow blank on should validate_uniqueness_of
Hello, Using shoulda, any ideas how to allow blank when having this test: should validate_uniqueness_of(:email) Thanks. -- J. Pablo Fernández <pupeno-GAtDADarczzQT0dZR+AlfA@public.gmane.org> (http://pupeno.com) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2010 May 09
7
"File not found: lib" installing rails-3.0.0.beta3 on my Mac
I''ve always distrusted the ruby and rails installs on my Mac (oOS X 10.6.3) -- sudo gem cleanup can''t seem to get rid of old gem versions (lots of Gem::InstallError: cannot uninstall). Because of that, I don''t trust the rails beta3 install I just completed. Here''s the story: * config is Apple''s ruby 1.8.7 and gem 1.3.6. * xcode is installed from
2011 Nov 30
2
bundle exec fail
WTF... how to solve? (REE ruby/Ubuntu 10.04) $ dpkg -l |grep ruby ii ruby-enterprise - 1.8.7-2011.03 - Ruby Enterprise Edition. $ bundle exec /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:344:in `exec'': wrong number of arguments (ArgumentError) from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:344:in `exec'' from
2010 Jun 04
4
Mac OS/X and Rails 3 ?
Hello List, Label me a newb, but how do you install Rails 3 on your Mac? Google sent me to these URLs: http://weblog.rubyonrails.org/2010/2/5/rails-3-0-beta-release/ http://guides.rails.info/3_0_release_notes.html http://asciicasts.com/episodes/200-rails-3-beta-and-rvm From early Feb 2010 I see this short recipe: gem install tzinfo builder memcache-client rack rack-test rack-mount erubis mail
2011 Oct 18
8
rspec 1.3.2, Rails 2.3.14 - plugins not loading
Hi there I have a weird situation. I have inherited a project in Rails 1.2.3 that has been upgraded to Rails 2.3.14 (and is running). I have installed Cucumber and Rspec to start to write features/tests for the new code that needs to be written. In my Gemfile, these Gems are loaded: group :test do gem ''rspec-rails'', ''~> 1.3.4'', :require =>
2011 Jan 28
5
mysql quotation wonky
Why would, in an upgrade from 3.0.1 to 3.0.3, a rake db:migrate run this: SELECT "schema_migrations"."version" FROM "schema_migrations" vs this ? SELECT `schema_migrations`.`version` FROM `schema_migrations` __ rake db:migrate output __ rake aborted! Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
2012 Feb 06
3
Bundler - how to re-install all gems after os update?
I had a working Rails setup using RVM on Ubuntu 11.10 with /home on a separate partition. I installed Ubuntu 12.04 (Alpha) on the root partition, leaving the home partition unchanged. I now find that some things don''t work, I think due to the fact that the system has been updated and versions of libraries have changed. For example I get: $ rails c
2010 Nov 22
3
Issue using bundler
I run bundle install, or bundle update, and it fails. I''m using RVM, so if I switch to Ruby 1.9.2, this works fine, but using Ruby 1.8.7 it fails. Any idea? jeremy-woertinks-imac:winovations jeremywoertink$ bundle update Fetching source index for http://rubygems.org/ Using rake (0.8.7) Using RedCloth (4.2.3) Using abstract (1.0.0) Installing activesupport (3.0.1)
2010 Jan 18
2
Can't get gem bundler to work with either rvm 1.9.1 and 1.9.2
I installed the bundler, no problem - but it seems to have screwed up my gem repository in both cases!? What to do? kristian-mandrups-macbook-pro:~ kristianconsult$ sudo gem install thor /Users/kristianconsult/.rvm/gems/ruby/1.9.1/gems/bundler-0.8.1/lib/ rubygems_plugin.rb:2:in `require'': no such file to load -- bundler/ commands/bundle_command (LoadError) from
2010 Sep 08
6
Cannot start sqlite3
Hello everybody, i''m a long time watcher of these forums first time poster. I wanted to start getting into rails and have a play, I found a very useful guide on the Internet detailing the install process for Ubuntu 10.04, after the install and setup process which seem to complete OK, i went ahead and started my first project, however when I go to start the server I get this message?
2012 Jan 21
16
Installing rails on Ubuntu
Hello, I''m trying to install the rails on ubuntu 11.10, but when I put the command felipe@Felipe:~/Downloads/rubygems-1.8.15$ sudo gem install rails --no-r1 --no-rdoc ERROR: Loading command: install (LoadError) no such file to load -- zlib ERROR: While executing gem ... (NameError) uninitialized constant Gem::Commands::InstallCommand felipe@Felipe:~/Downloads/rubygems-1.8.15$
2011 Mar 04
8
rake issues
Is there any reason why db:setup and db:reset don''t show any more on "rake -T db"? I guess any rake task that is defined only as a group of other tasks (without any ruby blocks attached) presents this problem. Also let me write this as a remember note to myself for when I have some time: the Rails Guides on Migrations should be updated to include instructions about db:load