similar to: Namespacing controllers

Displaying 20 results from an estimated 4000 matches similar to: "Namespacing controllers"

2006 Nov 04
0
Controllers and Namespaces (no problem, just questions)
I''m a little late on finding this article: http://habtm.com/articles/2006/07/01/if-your-models-arent-namespaced-why-should-your-controllers-be-or-how-i-learned-to-stop-worrying-and-love-the-crud This idea does not sit well with me and am curious as to the Rails roadmap. I''ve seen a couple things demonstrated in examples (Rails Book, api) that later turn to become deprecated. As
2006 Mar 21
0
Automatic namespacing of custom Rake tasks
As you know you can create your own .rake files in lib/tasks and Rails will automatically find them - as Rake 0.7 adds namespace support and Rails is already taking advantage of these namespaces if you are on Edge Rails I thought it would make a lot of sense if Rails automatically namespaced your own custom rake files, so I raised a ticket for this and I''ve now implemented it
2005 Oct 05
2
Seattle Railers gathering for a beer
This is a general invite to any/all Railers in the Seattle area who want to get together for beer/food. Nothing formal, just a "get to know ya" gathering. Details: Thursday, Oct 13 (next week), 7pm Bellevue Red Robin - *http://tinyurl.com/d678c* -- ~~~~~~~~~~~~~~~~~~~ D''Andrew "Dave" Thompson http://dathompson.blogspot.com
2006 Jan 31
2
Need advice on RoR app design
Fellow Railers, Is there anything, anywhere, that I can read that discusses overall RoR app design? I have the Agile RoR book, which is great for learning the details of RoR, but unfortunately doesn''t cover the overall issue of creating a large, complex RoR app. My staff and I are still in the process of getting up to speed on Ruby and RoR, but we also need to begin thinking about
2007 Sep 13
7
Namespacing Models
Hello everyone, Do you feel it? The little shiver down your spine when you think of "namespacing" in rails? To some thats a common feeling, to people like myself who enforce absolute organization have already thought about the need for namespaces in rails. Now I do understand this is an ongoing effort... to some degree. Controllers and routes, from my experiences work well, that being,
2006 Jan 27
0
Mad Railers First Meeting
Hi all, We are very pleased to announce the first meeting of Mad Railers, the Madison, WI Ruby on Rails Users Group. Here are the details: When: Monday, February 13, 2006 from 6 p.m. - 9 p.m. Where: Madison Area Technical College Downtown Education Center 211 N. Carroll St. Madison, WI 53703 Room D240 Google Maps Link:
2013 Aug 29
0
[PR 12064] A queue with namespacing support.
Hey all, I''ve been eagerly following the development of 4.0 and 4.1, especially the Queue API, and have been running the `jobs` branch in production for a few projects. I know that one thing blocking progress for a 4.1 queue release is debate about what the interface should look like. Specifically, I know there were a few requests for an interface that allowed for namespacing
2018 Jan 31
0
Re: How to use /dev/net/tun from libvirt-lxc with user namespacing enabled
On Mon, Jan 29, 2018 at 07:01:15PM -0300, Thiago Padilha wrote: > I have a container rootfs that I use to keep all work-related stuff. This > container was originally created by lxd (which creates all containers for > use with user namespacing), but now I decided to start using libvirt for > container management since I already use it for virtual machines, which > will spare me from
2006 Jun 12
2
Ruby on Rails Copenhagen Meetup
Hi Railers If you are in the Copenhagen area on the 29th of this month (that''s a Thursday) Jesper and I would be glad to see you at Caf? Selina in the central Copenhagen for the first of many Ruby on Rails meetups. We start at 20:30 hours and have of cause arranged for free beer and complementary WiFi. Our goal is to create an inspiring atmosphere where railers (new and old) can
2012 Jul 09
1
Custom ruby modules/classes, standard namespacing, pluginsync, etc.
still pretty new to Ruby, please bare with me :) Say I have a module with a custom type, structured like so: [modules]/mymodule/manifests/init.pp [modules]/mymodule/lib/puppet/provider/mytype/foo.rb [modules]/mymodule/lib/puppet/type/mytype.rb In foo.rb, I''d like to call some custom ruby functions in a module and/ or class. These are generic functions that may be used in other modules,
2007 Dec 19
2
Is this a bug with namespacing?
Yesterday, I switched our node structure from using node basenode, node nodetype inherits basenode, to using node classes per the changes discussed recently on this list and as defined in the wiki:GlossaryOfTerms. In the manifest, we have a syslog module which sets up all the components of syslog-ng we''re using. The ''syslog'' class is used by default on clients and then
2011 Jun 09
1
subdomain based namespacing makes RSpec incorrectly state that the route doesn't exist
Hello, I''m doing namespace routing based on subdomain, rather than path, so that http://admin.example.com/pages leads to app/controllers/admin/ pages_controller.rb. Cucumber is following this fine, but RSpec is complaining that the requested route doesn''t exist even though "rake routes" shows the route. When I add a standard namespace below the "scope :admin"
2005 Oct 17
2
What to install/configure?
Hi railers, (railers? Rails-ers? How do you folks refer to yourselves?) I''m brand spankin'' new to most of this. I''m just learning ruby, just learning rails, just learning MySQL, and really just learning about Apache/CGI-type stuff. I have a long background with UNIX sysadmin and scripting (lots and lots of Perl and Bash), so the ruby is coming fast (and
2008 Nov 24
2
Namespacing conventions
I compared the output from ``rake routes'''' for each solution below, and they both produce the exact same routes. Is one solution preferred over the over? # Solution #1: map.resource :account do |account| account.resources :properties, :controller => ''account/properties'' account.resources :photos, :controller =>
2007 Mar 24
1
RSpec and namespaced controllers
I''m running into a problem with RSpec/Rails and namespaced controllers. I''ve got a controller called ''TenantsController'' in app/controllers and another called ''Admin::TenantsController'' in app/controllers/admin In spec/controllers/, I have a tenants_controller_spec.rb. In spec/controllers/admin/ I have another tenants_controller_spec.rb. Both
2018 Jan 29
2
How to use /dev/net/tun from libvirt-lxc with user namespacing enabled
I have a container rootfs that I use to keep all work-related stuff. This container was originally created by lxd (which creates all containers for use with user namespacing), but now I decided to start using libvirt for container management since I already use it for virtual machines, which will spare me from dealing with multiple hypervisor technologies. I managed to create a working domain xml
2006 Jan 12
3
what about Austin railers?
If Tuscon has some rail users, I know there must be some other Austin railers out there. Have I missed some meetings that I didn''t know about? Steve http://www.smarkets.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060112/c2723541/attachment.html
2010 Aug 27
0
Syntax highlighting in IRB || Script/Console
Railers, I would like to know if there is a way of changing colors for IRB standard input ($stdin). What I am interested in "is having IRB highlighting syntax as I type". Among other stuff, I would like to be able to: - set its background colours - have differing colours for strings, variables, keywords, e.t.c. I do use Wirble and Term-ansicolor gems, and they are fine when it
2002 Jul 28
0
[R] bug in unsplit()? (PR#1845)
Hedderik van Rijn <hedderik@cmu.edu> writes: > > Thanks for pointing this out. I think your code should work, although > > I'm slightly uneasy about actually modifying f, so how about > > Just curious, why are you uneasy about that? Does it have side effects? It is largely due superstition, but if you change f before calling split<-() you have split() and
2007 Apr 19
1
Spec''ing Namespaced Controllers
I''m stucking trying to figure out how to write a spec for a namespaced controller. Any help is appreciated. Thanks, Marcus -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070419/75a167fa/attachment.html