Displaying 20 results from an estimated 10000 matches similar to: "Nested Resources + Namespace + Friendly URL"
2007 Oct 26
3
Specing with Subdomains as Account Keys
How do you go about implementing and rspecing subdomains as account
keys? I''m sure that this must be an issues for others as well.
So I have an app using subdomains as account keys. The Application
Controller sets up @current_company in a before filter. Everything is
done within the context of the @current_company.
After reading about Demeter''s Revenge
2010 Feb 10
1
namespace + nested resources = <% form_for ... %> problem
Hello all
I wrote a gist, which describes my problem: http://gist.github.com/300860
What param I need to pass to form_for? 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 unsubscribe from this group, send email to
2006 May 21
0
problem with "start" in URL
Hi,
I noticed a problem when switched from SCGI to Mongrel. At very first
moment my application goes to url /start/dashboard/overview which in
Mongrel gives me 404 Not Found error. As soon as I changed it to
/appstart/dashboard/overview it fixed the problem.
--
Kamil
2007 Jun 07
0
Functional Tests Fail - No URL can be generated for hash
Hi,
I''m just learning Ruby and Rails. I have developed a Rails application,
but not using the creation scripts that come with the rails
distribution. Consequently, no test scaffolding is available to me, and
I''m trying to write my functional tests from scratch.
I have what might be considered a standard plain old controller
(dashboard_controller.rb) that I''m trying
2005 Dec 28
4
undefined method `include''
I''m getting this error in Rails:
undefined method `include'' for
#<MenusController:0x408efd1c>
The offending code is:
require "rexml/document"
include REXML
I see there may be a problem with GCC 4 on OSX, but
I''m using Redhat with GCC 3.2.
http://weblog.rubyonrails.org/articles/2005/12/22/is-gcc-4-0-incompatible-with-ruby-on-os-x-and-elsewhere
2010 Apr 18
0
Rails 3: new namespace inside nested resource?
Hi,
Is there a way to use namespaces inside nested resources? For example,
I have:
resources :users do
resources :tags
end
and I''d like to place the tags controller inside controllers/users,
with the equivalent for templates.
If I try this:
resources :users do
namespace :users do
resources :tags
end
end
I''ll get redundant route names:
users_user_tags,
2007 Feb 20
1
Urls generated by nested map.resources
Hi,
Apologies if this has been answered before.
I have just started to try out the new RESTful routes. For resources
that aren''t related to anything else, everything makes sense - for
resources with relationships, I am less certain of what the "right"
thing to do - especially in relation to the urls produced, and how to
modify those urls.
For example, if I have teams and
2012 Dec 17
0
puppet-dashboard install not generating 'dashboard' cert
Hello,
I''m trying to get puppet-dashboard installed on a CentOS 6.3 machine
running puppet v3.0.1.
I''m following the puppet-dashboard documentation here:
http://docs.puppetlabs.com/dashboard/manual/1.2/configuring.html
In the documentation page linked above, it says:
Puppet uses SSL certificates to control who can make requests to the puppet
> master, so Dashboard has
2012 Feb 22
0
Announce: Puppet Dashboard 1.2.6 Available
This is a maintenance release of Puppet Dashboard.
It includes contributions from Adrien Thebo, Chad Metcalf, Chris W,
Daniel Pittman, Daniel Sauble, Devon Harless, Michael Stahnke, Moses
Mendoza, Randall Hansen, Josh Lifton, and Nick Fagerlund.
This release is available for download at:
http://downloads.puppetlabs.com/dashboard/
We have included Debian and RPM packages as well as a tarball
2012 Mar 06
1
Issue with pe-dashboard-workers
I''ve almost gotten PE running --
Based on tips from a recent Webinar, I''ve started on a minimal RHEL 6
system, and have installed the PE 2.03 packages. Once I set up /etc/
hosts (DNS will come later), I started the PE services. Given past
problems (possibly just me), I was pleasantly surprised that the
puppet-enterprise-updater script was so accommodating as I remembered
which
2013 Oct 18
0
Dashboard failed tasks
Hey All,
I see that a number of Admins have experienced this same issue, but no one
has posted a workable solution. I have about 200 agents, but on any given
day I''ll see 5-10 failed tasks in Dashboard as follows:
*Importing report report-21248-180.yaml* at 10-18-2013 11:10 EDTValidation
failed: Host already has a report for time and kind
Backtrace
2012 Oct 24
0
Announce: Puppet Dashboard 1.2.13-rc1 Available
Puppet Dashboard 1.2.13-rc1 is a maintenance and bugfix release
candidate of Puppet Dashboard.
This release is available for download at:
https://downloads.puppetlabs.com/dashboard/puppet-dashboard-1.2.13-rc1.tar.gz
Debian packages are available at
https://apt.puppetlabs.com
RPM packages are available at
https://yum.puppetlabs.com
See the Verifying Puppet Download section at:
2013 Apr 16
1
Ruby Error Encountered when Installing Dashboard for Puppet Open Source
I''ve installed Puppet and am installing Dashboard on CentOS 6. I''m running
into an ''undefined method'' when installing the dashboard. To install
Puppet Open Source, I ran:
> rpm -ivh
2011 Sep 21
0
ANNOUNCE: Puppet-Dashboard 1.2.1 available
This is a maintenance release of Puppet Dashboard. This release
resolves issues #7405, #9101, #8878, and #8803. More details below.
This release is available for download at:
http://downloads.puppetlabs.com/dashboard/
We have included Debian and RPM packages as well as a tarball.
See the Verifying Puppet Download section at:
http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet
2013 Aug 29
1
CREATE command denied to user 'dashboard'@'localhost' for table 'schema_migrations'
Hi Puppet Users group,
I have followed the guide to the puppet-dashboard DB "Preparing Schema"
part, once I run " rake RAILS_ENV=production db:migrate --trace", it shows
the following errors:
(in /usr/share/puppet-dashboard)
> rake aborted!
> Mysql::Error: CREATE command denied to user ''dashboard''@''localhost'' for
> table
2012 Oct 11
3
Puppet Dashboard won't install MySQL schema
I have been working on this issue for almost 5 days
and can not get
past this error.
Puppet Dashboard is installed via RPM from puppetlabs.
I have tried versions
1.2.12, 1.2.9 and am currently on 1.2.1.
Regardless of the version, I get the same exact error
every time I run rake RAILS_ENV=production db:migrate.
(in /usr/share/puppet-dashboard)
rake aborted!
no such file to load --
2012 Dec 05
0
Announce: Puppet Dashboard 1.2.15 available
Puppet Dashboard 1.2.15 is a bugfix release of the 1.2 series of
Puppet Dashboard.
This release is available for download at:
https://downloads.puppetlabs.com/dashboard/puppet-dashboard-1.2.15.tar.gz
Debian packages are available at
https://apt.puppetlabs.com
RPM packages are available at
https://yum.puppetlabs.com
Please report feedback via the Puppet Labs Redmine site, using an
affected
2004 Jun 24
0
Port based VLAN Switch + tc + routing troube
Hello,
I have a little strange config. I will try to explain it as short as
possible.
I have ethernet switch, which is Port Based VLAN enabled.
For example: this switch have 3 ports.
Port 1 is VLAN 1 only.
Port 2 is VLAN 2 only.
Port 3 is VLAN 1 and 2.
This means that if packet come from Port 1 it will be sent ONLY to port 3.
If packet come from Port 2 it again will be sent to Port 3 only.
2002 Jun 06
0
again: HTB - I can''t stand it any longer HELP ME
sorry for previous post. I have no idea what was the reason :-(. I am sure it was set to ''plain-text'', but I have changed email anyway...
-----------------------------------------------
hi there!
For weeks I am trying to set my network in such a way:
server (linux) is connected through ppp0 to internet. There is MLDonkey
running on that and it is also Internet default gateway
2005 Dec 31
1
search engine friendly URL params?
I have a site which is a listing of realestate offerings, written
currently in PHP.
With complicated .htaccess rules, going to the url
site.com/listings/226/aid/29/ref/contact leads to the page
listings/prop_view.php?id=226&aid=29&ref=contact... the beauty of this
is that the link is SEO friendly and thus gains high rankings in the
engines because they will reach it.
question is,