It took 4 seconds to get redirected to the show page. Is this a known Ruby 1.9.1 or Rails 2.3.2 issue? Processing SitesController#create (for 127.0.0.1 at 2009-03-30 16:48:04) [POST] Parameters: {"authenticity_token"=>"UHSYgtPzfTEAHAqsqTVYWzFOeM7bSh6mUkgvZFY96CQ=", "site"=>{"url"=>"local.test2", "base_name"=>"test2", "human_name"=>"test2"}, "commit"=>"Create"} Site Columns (0.8ms) SHOW FIELDS FROM `sites` Site Load (0.1ms) SELECT * FROM `sites` WHERE (`sites`.`base_name` = ''azurrofashion'') LIMIT 1 SQL (0.1ms) BEGIN Site Create (0.3ms) INSERT INTO `sites` (`url`, `base_name`, `human_name`, `created_at`, `updated_at`) VALUES(''local.test2'', ''test2'', ''test2'', ''2009-03-30 08:48:04'', ''2009-03-30 08:48:04'') SQL (7.6ms) COMMIT Redirected to http://local.azurrofashion/sites/7 ################### CHECK OUT THE NEXT LINE ! ! ! #################### Completed in 4142ms (DB: 10) | 302 Found [http://local.azurrofashion/ sites] SQL (0.1ms) SET NAMES ''utf8'' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 BTW, I''m on Ubuntu 8.10, using MySQL (not in INNODB mode, only have a few records ( less than 10 ), and I don''t think I have any crazy stuff going on except that I''m using the ResourceController and HAML plugins. Does anybody know what''s going on? --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
BTW, is there a way to find out what''s going on at that line that''s taking a super long time with some kind of profiling software? On Mar 30, 4:54 pm, David Beckwith <dbitsoluti...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> It took 4 seconds to get redirected to the show page. Is this a known > Ruby 1.9.1 or Rails 2.3.2 issue? > > Processing SitesController#create (for 127.0.0.1 at 2009-03-30 > 16:48:04) [POST] > Parameters: > {"authenticity_token"=>"UHSYgtPzfTEAHAqsqTVYWzFOeM7bSh6mUkgvZFY96CQ=", > "site"=>{"url"=>"local.test2", "base_name"=>"test2", > "human_name"=>"test2"}, "commit"=>"Create"} > Site Columns (0.8ms) SHOW FIELDS FROM `sites` > Site Load (0.1ms) SELECT * FROM `sites` WHERE (`sites`.`base_name` > = ''azurrofashion'') LIMIT 1 > SQL (0.1ms) BEGIN > Site Create (0.3ms) INSERT INTO `sites` (`url`, `base_name`, > `human_name`, `created_at`, `updated_at`) VALUES(''local.test2'', > ''test2'', ''test2'', ''2009-03-30 08:48:04'', ''2009-03-30 08:48:04'') > SQL (7.6ms) COMMIT > Redirected tohttp://local.azurrofashion/sites/7 > ################### CHECK OUT THE NEXT LINE ! ! ! > #################### > Completed in 4142ms (DB: 10) | 302 Found [http://local.azurrofashion/ > sites] > SQL (0.1ms) SET NAMES ''utf8'' > SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 > > BTW, I''m on Ubuntu 8.10, using MySQL (not in INNODB mode, only have a > few records ( less than 10 ), and I don''t think I have any crazy stuff > going on except that I''m using the ResourceController and HAML > plugins. > > Does anybody know what''s going on?--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I forgot to mention that I am using Phusion Passenger. On Mar 30, 4:54 pm, David Beckwith <dbitsoluti...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> It took 4 seconds to get redirected to the show page. Is this a known > Ruby 1.9.1 or Rails 2.3.2 issue? > > Processing SitesController#create (for 127.0.0.1 at 2009-03-30 > 16:48:04) [POST] > Parameters: > {"authenticity_token"=>"UHSYgtPzfTEAHAqsqTVYWzFOeM7bSh6mUkgvZFY96CQ=", > "site"=>{"url"=>"local.test2", "base_name"=>"test2", > "human_name"=>"test2"}, "commit"=>"Create"} > Site Columns (0.8ms) SHOW FIELDS FROM `sites` > Site Load (0.1ms) SELECT * FROM `sites` WHERE (`sites`.`base_name` > = ''azurrofashion'') LIMIT 1 > SQL (0.1ms) BEGIN > Site Create (0.3ms) INSERT INTO `sites` (`url`, `base_name`, > `human_name`, `created_at`, `updated_at`) VALUES(''local.test2'', > ''test2'', ''test2'', ''2009-03-30 08:48:04'', ''2009-03-30 08:48:04'') > SQL (7.6ms) COMMIT > Redirected tohttp://local.azurrofashion/sites/7 > ################### CHECK OUT THE NEXT LINE ! ! ! > #################### > Completed in 4142ms (DB: 10) | 302 Found [http://local.azurrofashion/ > sites] > SQL (0.1ms) SET NAMES ''utf8'' > SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 > > BTW, I''m on Ubuntu 8.10, using MySQL (not in INNODB mode, only have a > few records ( less than 10 ), and I don''t think I have any crazy stuff > going on except that I''m using the ResourceController and HAML > plugins. > > Does anybody know what''s going on?--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Oh I think it''s cuz i"m calling a generator after the create method executes..... On Mar 30, 4:54 pm, David Beckwith <dbitsoluti...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> It took 4 seconds to get redirected to the show page. Is this a known > Ruby 1.9.1 or Rails 2.3.2 issue? > > Processing SitesController#create (for 127.0.0.1 at 2009-03-30 > 16:48:04) [POST] > Parameters: > {"authenticity_token"=>"UHSYgtPzfTEAHAqsqTVYWzFOeM7bSh6mUkgvZFY96CQ=", > "site"=>{"url"=>"local.test2", "base_name"=>"test2", > "human_name"=>"test2"}, "commit"=>"Create"} > Site Columns (0.8ms) SHOW FIELDS FROM `sites` > Site Load (0.1ms) SELECT * FROM `sites` WHERE (`sites`.`base_name` > = ''azurrofashion'') LIMIT 1 > SQL (0.1ms) BEGIN > Site Create (0.3ms) INSERT INTO `sites` (`url`, `base_name`, > `human_name`, `created_at`, `updated_at`) VALUES(''local.test2'', > ''test2'', ''test2'', ''2009-03-30 08:48:04'', ''2009-03-30 08:48:04'') > SQL (7.6ms) COMMIT > Redirected tohttp://local.azurrofashion/sites/7 > ################### CHECK OUT THE NEXT LINE ! ! ! > #################### > Completed in 4142ms (DB: 10) | 302 Found [http://local.azurrofashion/ > sites] > SQL (0.1ms) SET NAMES ''utf8'' > SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 > > BTW, I''m on Ubuntu 8.10, using MySQL (not in INNODB mode, only have a > few records ( less than 10 ), and I don''t think I have any crazy stuff > going on except that I''m using the ResourceController and HAML > plugins. > > Does anybody know what''s going on?--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Mon, Mar 30, 2009 at 2:26 AM, David Beckwith <dbitsolutions-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> > I forgot to mention that I am using Phusion Passenger. >What version of Phusion Passenger are you using? -Conrad> > On Mar 30, 4:54 pm, David Beckwith <dbitsoluti...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > It took 4 seconds to get redirected to the show page. Is this a known > > Ruby 1.9.1 or Rails 2.3.2 issue? > > > > Processing SitesController#create (for 127.0.0.1 at 2009-03-30 > > 16:48:04) [POST] > > Parameters: > > {"authenticity_token"=>"UHSYgtPzfTEAHAqsqTVYWzFOeM7bSh6mUkgvZFY96CQ=", > > "site"=>{"url"=>"local.test2", "base_name"=>"test2", > > "human_name"=>"test2"}, "commit"=>"Create"} > > Site Columns (0.8ms) SHOW FIELDS FROM `sites` > > Site Load (0.1ms) SELECT * FROM `sites` WHERE (`sites`.`base_name` > > = ''azurrofashion'') LIMIT 1 > > SQL (0.1ms) BEGIN > > Site Create (0.3ms) INSERT INTO `sites` (`url`, `base_name`, > > `human_name`, `created_at`, `updated_at`) VALUES(''local.test2'', > > ''test2'', ''test2'', ''2009-03-30 08:48:04'', ''2009-03-30 08:48:04'') > > SQL (7.6ms) COMMIT > > Redirected tohttp://local.azurrofashion/sites/7 > > ################### CHECK OUT THE NEXT LINE ! ! ! > > #################### > > Completed in 4142ms (DB: 10) | 302 Found [http://local.azurrofashion/ > > sites] > > SQL (0.1ms) SET NAMES ''utf8'' > > SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 > > > > BTW, I''m on Ubuntu 8.10, using MySQL (not in INNODB mode, only have a > > few records ( less than 10 ), and I don''t think I have any crazy stuff > > going on except that I''m using the ResourceController and HAML > > plugins. > > > > Does anybody know what''s going on? > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---