similar to: recent changes in routes

Displaying 20 results from an estimated 400 matches similar to: "recent changes in routes"

2006 Aug 03
1
routeset mapper problem
hello, I installed a rails app on dreamhost, which I''m building based on the Comatose plugin, and it went smoothly for the first version. Now I uploaded a second version where I broke down the Comatose code into a regular rails app, which works alright locally, but can''t get routing to work the same as before on the server. I believe I double-checked all gotchas mentioned
2007 Jan 24
0
problems with themes in rails 1.2.1 -> named_route
i saw someone mentioned this somewhere else (1), but i wanted to make sure that this wasn''t something that was going to cause me alot of grief later.. i have been using the theme plugin (2) on several projects.. i updated to 1.2.1 today, and upgraded my mongrel to the latest one.. when i try running mongrel after updating my project, i get the following error:
2007 Mar 06
4
Rails 1.2 / Theme support plugin issue: Fix
This is to answer one of my old issues, that I was having using Theme support plugin using with Rails 1.2. When you get an latest edge Rails update and run your application which has Theme support plugin you will get following error /script/../config/../vendor/plugins/theme_support/lib/patches/routeset_ex.rb:26:in `create_theme_routes'': undefined method `named_route'' for
2006 Feb 08
2
Adding routes via a plugin...
I have a plugin that I am working on that will as part of its distribution contain a controller. I would like to be able to add a route for it in the plugin''s init.rb so that when the plugin is loaded, the route will automatically be registered without having to force the user to edit routes.rb or even make a rake task to do it for them. I saw the following code in one of the SVN
2006 Mar 28
0
MySQL problems and undefined class User
Hello I''m having some issues with MySQL losing it''s connection, or undefined class User on Windows XP. I use Login and UserEngine. Rails 1.0/1.1, MySQL 4. MySQL problem (one of them): Mysql::Error: Lost connection to MySQL server during query: UPDATE sessions SET `data` =
2007 Jan 17
8
Mocha Mock''s hanging on after test run?
Hi guys, I''m running mocha (0.3.2) against Rails core and just found an issue where the mock doesn''t go away after the test is run. For example: def test_reset_bang_doesn_reinstall_named_routes ActionController::Routing::Routes.named_routes.expects(:install).never @session.reset! end def test_zzz puts ActionController::Routing::Routes.named_routes.inspect
2006 Feb 14
1
ArgumentError in <controller not set>#<action not set> ??
Has anyone ever seen this before? It doesn''t happen n a predictable manner, and can occur via different controllers. Someone else posted about this back in December but no one replied. I''m completely stumped! Here is the text, thanks. ArgumentError in <controller not set>#<action not set> undefined class/module CustomerDomain RAILS_ROOT: script/../config/..
2006 Jan 04
3
Intermittent problem with link_to_remote()
Hi folks, My page displays links for ''categories'' using the link_to_remote() function. Clicking on one of these links goes to the controller and returns any child categories. I''m finding that the page works ok but after a number of clicks (average 5 or so), it crashes with an error: ============================================== Processing Base#index (for
2006 Apr 23
1
Can''t override routing code
I want to change some of Rails'' routing code so that I can make routes subdomain-sensitive. The code at http://wiki.rubyonrails.com/rails/pages/RoutingSubdomains works fine when I edit the file (in my case, C:\Program\Ruby\lib\ruby\gems\1.8\gems\actionpack-1.12.1\lib\action_controller\routing.rb) directly. Changing that file seems very fragile, so I figured I would override the
2006 Aug 04
1
route error with controllers in a module, should just work
This is ALL I have added to my routes.rb map.connect ''admin'', :controller => ''/admin/welcome'' I have found plenty of examples saying this is correct if you have a WelcomeController in the Admin module, which I do :) But now webrick won''t even start ??? Look at those 4 colons ::::, what is that about ? help ! => Booting WEBrick...
2006 Aug 10
2
Software caused connection abort
Hi Zed or anyone that is also looking at Mongrel, Just want to report something that, although doesn''t crash mongrel, is rather annoying. I am running the latest Mongrel 0.3.13.3 - ruby version on cygwin (yeah, poor me). When I start mongrel_rails with ActiveRecord::Base.allow_concurrency = true in environment.rb, I see a lot of "Error sending file
2006 Jan 10
0
New Rails Development Project
We are currently looking for developers to assist us w/ a new project we will be starting soon. Primarily we''re looking for people who are well versed in Rails, AJAX, as well as web standards and usability practices. We are exploring both the possibility of hiring an outside firm to work with us, or hiring a couple people to come work for us. I''m looking for either someone
2006 Mar 10
0
WEBrick crashing
ruby 1.8.2 (2004-12-25) [i386-mswin32] latest version of edge rails - patched to make the server work with win32 (http://dev.rubyonrails.org/ticket/4139) On some pages WEBrick is crashing with the following: d:/programming/ruby/lib/ruby/1.8/profiler.rb:27: You have a nil object when you didn''t expect it! (NoMethodError) You might have expected an instance of Array. The error occured
2011 Jun 22
3
Status of Rails.application.routes.recognize_path()
Sorry if this question isn''t really "Ruby on Rails: Core" material. I feel it is, at least kind-of (also, I first tried asking in "Ruby on Rails: Talk" to no avail.). So, while writing a gem (engine) for rails, I found that I needed to have my app (in a pre-filter) directly query the router. In the "old" days, this was done using
2006 Jan 24
2
Starting new project
I''m looking at starting a new side-project just for fun (primarily to learn rails). I''m curious if there is anyone out there that would like to join in with me? I''ve got the ideas and the design skills. The problem is that I''m new to rails, and I feel I could learn a lot faster if I did this with someone that knew more than me. I''m really
2005 Jul 05
0
Strange behavior on windows
Folks, Excuse me if this is obvious. I have done a google but haven''t found anything. I''m just going through the Ruby on Rails book and installed the software from the SVN server as it mentioned that a lot of things in the book won''t work with the current stable release. I started with the Depot example and ran: >ruby scriptgenerate scaffold Product Admin
2005 Jul 07
1
Rails 0.13 failing on Win XP
Hi all, Since 0.13 just got out, I decided to live a little on the edge and upgraded my working 0.12.1 Rails apps to 0.13. Which made them crash with a bang! After a little investigation it looks like even a fresh app will crash with a message: "allocator undefined for proc"... I''m on Win XP, everything was fine under Rails 0.12.1 Any help would be highly appreciated. --
2006 Sep 26
0
some help with functional testing of nested routes
I have the following functional test in test/functional for testing my products_controller: require File.dirname(__FILE__) + ''/../test_helper'' require ''products_controller'' # Re-raise errors caught by the controller. class ProductsController def rescue_action(e) raise e end end class ProductsControllerTest < Test::Unit::TestCase fixtures
2012 Sep 04
0
dynamic route generation
In polymorphic_routes.rb, line 131, a name route that has been built (e.g. post_users_path) gets invoked on self (assuming there was not RoutesProxy instance appended as the first element of the array passed as the first argument to form_for, then send() would be invoked on self, which is PolymorphicRoutes module, which belongs to ActionDispatch::Routing): (proxy || self).send(named_route, *args)
2007 Jun 27
1
Active Scaffold controllers created dynamically at runtime?
Does anyone know how to link Rails'' routes into anonymous controller classes created at runtime (defined with their superclass as ActionController::Base)? I''m trying to create a plugin for all of my projects that dynamically creates an active_scaffold controller for each model. It would essentially be like a scaffold_all_models for active_scaffold. I believe the original