similar to: Rails is slow to load

Displaying 20 results from an estimated 40000 matches similar to: "Rails is slow to load"

2011 Apr 13
8
Set password on file.
User must have opportunity to set password on their files. So what would be the best way to implement it? Is there any gems? Regards, Ivan. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send
2010 Feb 19
2
Problem with assert_redirected_to
I have taken over some old Rails code and am trying to get the tests to run. In the functional test every time the assertion ''assert_redirected_to'' is called I get the following error: test_should_update_venue(VenuesControllerTest): NoMethodError: undefined method `[]'' for #<Enumerable::Enumerator:0x102f747e0>
2012 Feb 02
3
WEBrick WEBrick server became extremely slow
hi all, for some reason my WEBrick server became extremely slow on live.i am using Fedora 14 and Ruby 1.8.7 ,Rails 2.3.11 and RubyGem 1.6.2. is there any reason why this would be the case? -- Thanks and Regards Sachin S. Kewale -- 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 Feb 23
1
undefined method `scaffold' for AdminController:Class
Hello everyone! I think a little background is necessary. I''ve been a web-developer and linux user for a little over 4 years now, primarily working with PHP and MySQL. I''ve tried several other frameworks like Django and CodeIgniter and several other languages, including python, perl, ASP/.NET, javascript and javascript frameworks, also worked with Oracle and PostgreSQL and many
2011 Apr 06
2
Can i upgrade a project from rails 1.2.3 to rails 3.0.5 ?
hello, i have an application which is created in rails 1.2.3 and ruby 1.8.6 and now i have to upgrade it to rails 3.0.5 and ruby 1.8.7 ? is it possible? and if yes how ?? can you guys provide me with some kind of link or reference . Thanks Nishant -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send
2011 Oct 11
3
Want to implement APIs in Rails.
Hi, I want to write APIs for my rails 3.1 application but have never written an API ever. I am supposed to write REST and SOAP APIs. Is there a formal book or e-book or screencasts or tutorials which teaches about APIs in Rails and best practices? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email
2010 Sep 15
19
Rails 3 with Mongrel possible?
After much fiddling and googling, it seems to me that Mongrel, even the 1.2.0pre2 release is not compatible with Rails 3 -- is that true? When I start up a new Rails 3 project (i.e. one fresh after a `rails new` command), mongrel appears to start (creates a pid file, and reports no errors on the CLI), but the app does not load in the browser and I find this in the mongrel.log
2011 Sep 10
4
Rails development advice
Hello, I''m new to rails but not new to programming. Yet I feel the lack of an organized environment for development is somewhat hindering my ability to learn rails thoroughly (3 console windows, text editor with a bunch of plugins, database editor and viewer, browser window opened and all this with a lot of data scattered throughout multiple files.. you get my drift..) Is this a newbie
2010 May 26
25
Extremely slow start up with ruby 1.9.1 vs 1.8.7
I created a fresh new rails app, no gems, no nothing. Completely unmodified. Doing anything that initializes rails takes 2 - 3 times longer in ruby 1.9.1 than it does in 1.8.7. Obviously with a fresh rails app, this is only 2 - 3 seconds extra. But with a decent sized app, this can take up to 25 seconds for rails to initialize, vs the 12 seconds in 1.8.7. I''ve been racking my brain on
2010 Jul 08
4
testing authentication with basic_auth
hi, I''ve got an api which is using authenticate_or_request_with_http_basic What are you guys using to test this? I''m using rspec, and before I was using rspec-rails, I was using authorize from Rack::Test to do the authentication. However, authorize clearly doesn''t work when using rspec-rails, so I''m wondering what everyone else is doing? -- You received this
2011 Jul 11
39
Help filling out a registration (I think it's called multi tenant)
Do you know when you are filling out a registration for a new account, and you keep pressing next to fill the rest of the information in separate pages? I''d like to do that, but I have no idea how. Basically I have a company model with its information, and a contacts model, with belongs to my company (also each company has only one contact), and I''d like for the user to fill in
2010 Jan 26
7
updated rails now missing rails gem
So i updated rails and this is now what i''m getting. i tried reinstalling rails and it didn''t help. it''s installed. this is driving me nuts. i''m at rails 2.3.5 and ruby 1.8.7 Missing the Rails gem. Please `gem install -v= rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out
2012 Sep 11
4
Should i buy Ruby on Rails 3 Essential Training with Kevin Skoglund from Lynda.com
hello people, i m new to rails and i m thinking of buying Ruby on Rails 3 Essential Training with Kevin Skoglund tutorial http://www.lynda.com/Ruby-on-Rails-3-tutorials/essential-training/55960-2.html but problem is the tutorial is created on 2010 oct => so its 2 yrs old so my question it is fine to Buy these Tutorial in the changing rails world? Please Help me -- You received this
2010 Mar 01
3
has_many models in a form
Hi, guys. There are four models in the program, A has_many B through C, B has_many A through C, A has_many D, D belongs_to A. I have a form to create A. Inspired by Ryan Bates'' railscasts I was able to create A and D in the same form, and link A to B(created beforehand) through C in the same form as well. Is it possible to create A and B in the same form? Thanks in advance. -- Posted
2011 Jun 30
2
How to play with shoulda with functional testing
Hi, I am new in rails testing, and now i try to use shoulda to test the functional section. can anyone give me some advice, example or recommend tutorial site to me.. thanks -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To
2012 Feb 01
10
Very strange problem: Ton's of ruby process just running simple command "rails --version" or "rails
Very strange problem: Ton''s of ruby process just running simple command "rails --version" or "rails new test1"" I have very strange problem. I try to run this simple command "rails new test1" --> this suppose to be create a new rails site. "rails --version" --> even this I got ton''s of ruby process but I got a lot of ruby
2010 Dec 29
5
Beginer: Question about routing on Rails 3
I bought this book about rails for beginers (head first Rails) and its quite simple and good for someone who has no clue about Rails (or any other language) On chapter two it talks about routing but unfortunately the book is for rails 2 and i have rails 3 installed on my mac. The line i have to enter in the config/routes.rb of my application is: map.connect ''/ads/:id'',
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 Jun 12
3
Problem with undefined variable current_user
Hi everyone, I''m working through the tutorial at the following link and attempting to customise/adapt the lessons for my own slightly different application. Link: Ruby on Rails Tutorial: Learn Rails by Example | Ruby on Rails 3 Tutorial book and screencasts | by Michael Hartl <http://ruby.railstutorial.org/ruby-on-rails-tutorial-book> I''m currently trying to work
2010 Mar 07
5
Rails development processes running very slow
This is a problem I know other people have been having. I''m on Rails 2.3.5 on a dual core 2.1Ghz Macbook Pro 2.1 with 3Gb of ram and 800Mb+ inactive memory. Things should be fast. Sometimes things run slowly, but nothing nearly as slowly as rails. irb starts in milliseconds. Even Java maven tasks are pretty fast. Rails on the other hand takes a pitiful 1:30 minutes to start - the