Displaying 20 results from an estimated 6000 matches similar to: "PATCH - Configurable tld_length for subdomains"
2010 May 27
0
Be more discriminating in rescue and wrapping with StatementInvalid
Hi all,
I just submitted a patch to 2-3-stable on lighthouse and wanted to
bring it to folks general attention.
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/896-be-a-little-more-discerning-about-which-exceptions-to-handle
My explanation is a bit long-winded, but here''s the motivation for the
patch, as explained in the lighthouse ticket:
Perhaps I should open
2010 Oct 11
2
my first patch ... what now? simple 1 word change
Hi everyone,
I just created my first rails patch. It is a simple textile doc
error requiring only a single word to be changed.
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/5779
I uploaded a .diff file.
Not sure what to do now but lighthouse guide says I should ask on here
for someone to take a look.
Thank you for your time,
fooledbyprimes
Peoria, Illinois, USA
--
2011 Feb 28
3
Feature: ActiveResource - Adding associations through reflections
Hello everyone,
I''m new in contributing and i saw in the contributing-guides, that i
have to write an email at this list.
I hope, that''s the right place for this. If it''s not, i''M really
sorry.. ;)
Could someone please give me feedback about this lighthouse-ticket?
2010 May 05
2
Add method to get at captured content_for
In Rails 3 the only way to get for content captured with the
content_for method in a view is to call yield from within a view.
However, sometimes is it useful to get to this data from within a
helper (for instance to provide a default value). Calling yield from
within the helper method won''t work, and accessing the @_content_for
variable directly is not encouraged.
Proposed solution: add
2011 Mar 19
0
ActiveRecord::Relation#except and #only loses scope extensions
Hi,
I''ve written a patch to fix a bug in except and only on
ActiveRecord::Relation to lose any extensions added by earlier scopes.
Since making a pull request is erroring on my on github, I''ve added
the patch to lighthouse too.
This can be added to the Rails 3.0.x branch as well.
https://github.com/iain/rails/commit/a0bd5ba2fa38155ef6c036b256b08414eb9a2af1
2010 Sep 08
2
Rails 2.3.9 breaks sessions with Active Record or Memcache store
A Rails 2.3.9 app with Active Record or Memcache session store will never
send the session ID cookie to a client if the client doesn''t send any HTTP
cookies in its requests. Rails integration tests didn''t catch this because
they always send the HTTP_COOKIE header, even if it''s empty.
This is a huge bug, as it can break keeping sessions on sites which don''t
set
2011 Apr 10
0
Arel Union does not support #order or #limit
I just posted this ticket in Lighthouse, but thought perhaps some
discussion here would help point me in the right direction toward a
solution. Here is a description of the problem (from the ticket - https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/6693-arel-union-does-not-support-order-or-limit)
:
> If we take two `ActiveRecord::Relations` and join them via `union`:
2010 May 28
0
dynamically generating subdomains using subdomain-fu
hi,
I am using subdomain-fu for creating subdomains . My doubt is how
can we give the subdomains in the etc/hosts ,when the sub-domains are
dynamicallybeing created.
Ex: i created a subdomain called "user1" and i specified this in etc/
hosts file.So eveery time i cant specify the subdomain which is being
created.So can i ovecome this problem.
--
You received this message because
2011 Oct 27
1
creating subdomains
HI All,
I surfed a lot , googled a lot , read/watched railscasts but could not get
the solution.
Below is my problem.
1) I wanted a parent domain www.xyz.com. This parent domain will have two
subdomains abc.xyz.com and def.xyz.com.
The parent domain will have a admin user who has capability to create/manage
subdomains.
The subdomains should an a siteadmin user who can edit the site
2010 Jun 24
1
Custom account subdomains with Rails 3
Hi,
I needed to handle custom account subdomains with Rails and I wrote a
simple rack middleware for that http://github.com/drogus/rack-subdomain.
It works by mapping any subdomain to given PATH. For example when user
hits drogus.example.org/account and mapping is /users/:subdomain, it
will map the request to example.org/users/drogus/account
I accomplished it with rack middleware, cause I wanted
2006 Jun 09
2
Virtualhost, Alias & Subdomains
I am having a problem with subdomains, alias & virtual hosts
Centos 4.3, Apache 2.0.52 & PHP 5.04
I can get the primary to work, but not the aliased servers.
http.conf extract
*********
NameVirtualHost *
<VirtualHost *>
ServerName www.domain.com
DocumentRoot /var/www/html/domain/
ServerAlias www.altdomain.com <http://www.altdomain.com>
</VirtualHost>
<VirtualHost
2006 Feb 06
1
Two subdomains with diferent controllers but same helpers and components
Hi,
I want to have www.myproduct.com and myclient1.myproduct.com working on same
server.
I would like to have different controller in wich subdomains, example:
on www I want to have sgnup and prices controller and on myclient subdomain I
want login, settings, etc...
I can open two environments
rails www
rails clients
or point the two subdomains to same environment
rails myproduct
Wich is
2008 Feb 08
1
Wildcard Subdomains & OS X Local Development
I''m using the simple account_location plugin to have virtual
subdomains on my app (account.myapp.com - see Basecamp, Blinksale,
etc.)
How do you go about setting up your OS X system to play nice? I''d like
to use Apache & Mongrel.
Notes: The only thing I''ve able to accomplish is hardcoding the
subdomains directly in my hosts file. I can get
2010 Apr 22
7
Making ActiveSupport::Cache consistent
Lighthouse ticket: https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/4452
I have recently been working on some gems that utilize
ActiveSupport::Cache and ran into some issues with the different
implementations handling the same functionality differently. One of
the issues was that I couldn''t rely on expiring entries with
the :expires_in option. MemCacheStore takes this
2011 Jan 10
0
Can't use ActionDispatch::Request in Rails middleware because path_parameters get lost
Hi,
I just encountered a bit of an issue where we call request.params of
an ActionDispatch::Request inside a rack middleware right before a
Rails 3.0.3 app. The issue is that the path_parameters never appear
in the parameters hash if you call request.params before the rails
app.
It seems that that the requests.params method memoizes itself in
"action_dispatch.request.parameters"
2007 Mar 31
1
Subdomains, Routing, and Subdirectory Controllers
For reference, this question is similar to "Subdomains, Session Data,
& Routing" posted Oct. 31, 2006. Link:
http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/d3c5072c3588a1e0/f87d0fdfded31650
----
I would like to set up a subdomain and, using the request_routing
plugin, have requests to that subdomain call corresponding "sub-
controllers" inside a
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 Jan 22
3
Release date for Rails 2.3.6?
Hello guys,
I went into milestones page (https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/milestones) and found out that Rails 2.3.6 was due Jan 15, 2010. Does it mean all tickets in that milestone should be cleared first?
If so, then I would pay attention to clear tickets in that bucket first.
Thank you,
Prem Sichanugrist (sikachu)
--
You received this message because you are
2006 Aug 18
2
subdomains with Rails
Hi.
I want to add subdomains like this:
Example: http://shirts.myshopify.com , http://computers.myshopify.com
Is it something you can do while still in development mode or do you
wait until you deploy and configure the subdomain names with your host
somehow?
Can you help direct me in the right way to do this?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 25
1
routes mapping, subdomains and page-caching
Each of its own is no problem, but the combination of them is confusing my
head !
I want to to map in routes.rb an url for an article which is identified by
its permalink. The permalink is unique per subdomain.
Has anybody done that and can post an example ?
Should I do subdomain filtering in routes.rb so I can get page-cachabled
URLs (and URL rewriting in Lighttpd form subdomain-urls to