Re: [Rails-core] Why "head" won't send an empty response?

2013-03-26 Thread Rodrigo Rosenfeld Rosas
Em 26-03-2013 00:00, Rafael Mendonça França escreveu: Have you checked on Rails 4? I'm pretty sure I changed this. If you changed this it was after the beta release, right? I'm saying that because my application is using Rails 4 beta and renders a single space... By the way, this issue is

Re: [Rails-core] Why "head" won't send an empty response?

2013-03-26 Thread Rafael Mendonça França
So I think I didn't changed it yet, but it is on my TODO list. About your issue, right now I can't take a look. It is assigned to Guillermo and I know he is a busy person, so I don't know when he will have time to fix it. If you need this fixed Please Do Investigate. Rafael Mendonça França http:/

[Rails-core] Using rack.hijack with ActionController::Live

2013-03-26 Thread Brian Cardarella
Pinging @tenderlove Some questions on how best to move forward with this: 1.) AC::Live is making use of the stream object on ActionDispatch::Response. Should the rack.hijack_io object be used instead of this in AC::Live or should ActionDispatch::Response be changed to use rack.hijack_io? 2.)

[Rails-core] Allow the controller to override the asset_host

2013-03-26 Thread Cedric Sohrauer
Currently the asset_host is set by a proc or an object for all controllers of the site. I think one could easily make this more flexible by allowing the controller to override the asset_host. As the asset host is currently only a configuration it is already available through the controller the

[Rails-core] STI model and table alias

2013-03-26 Thread Hector Satre
Hi everybody, I would have expect rails to automatically alias the tables when generating an SQL request with STI models. The problem is that using scope with the current behavior is not handy. Let say I have a generic table 'lookups' and its model 'Lookup'. >From it inherited many other model

Re: [Rails-core] Why "head" won't send an empty response?

2013-03-26 Thread Rodrigo Rosenfeld Rosas
Currently I'm investigate yet another issues also related to assets pipeline that are still affecting me and I still don't have a work-around. For some reason some assets aren't being included in production environment during precompilation :( I'll keep you informed as I understand what is hap

Re: [Rails-core] Using rack.hijack with ActionController::Live

2013-03-26 Thread Aaron Patterson
On Tue, Mar 26, 2013 at 07:50:53AM -0700, Brian Cardarella wrote: > Pinging @tenderlove > > Some questions on how best to move forward with this: > > 1.) AC::Live is making use of the stream object on > ActionDispatch::Response. Should the rack.hijack_io object be used instead > of this in AC::

Re: [Rails-core] Why "head" won't send an empty response?

2013-03-26 Thread Godfrey Chan
Just a wild guess - have you noticed the change in Rails 4 where assets in the vendor directory are no longer digested? For example, if you have /vendor/assets/fonts/font-awesome.ttf or /vendor/assets/images/glyphicons.png, and if you used to reference them in SASS with font-url(font-awesome.t

Re: [Rails-core] Why "head" won't send an empty response?

2013-03-26 Thread Rodrigo Rosenfeld Rosas
Em 26-03-2013 13:35, Godfrey Chan escreveu: Just a wild guess - have you noticed the change in Rails 4 where assets in the vendor directory are no longer digested? Thank you, Godfrey, but I never put my assets in the vendor directory of my application. When I find myself needing a vendor a

Re: [Rails-core] Why "head" won't send an empty response?

2013-03-26 Thread Rodrigo Rosenfeld Rosas
Em 26-03-2013 17:23, Rodrigo Rosenfeld Rosas escreveu: Em 26-03-2013 13:35, Godfrey Chan escreveu: ... Another issue is that if I call "rake assets:precompile RAILS_ENV=production" it doesn't work complaining that it can't find jquery.js. When I inspect Rails.configuration.assets.paths it is d

Re: [Rails-core] Why "head" won't send an empty response?

2013-03-26 Thread Godfrey Chan
Short answer to one of your questions - yes, that applies to gems/engines as well. For example, see thisand this

Re: [Rails-core] Why "head" won't send an empty response?

2013-03-26 Thread Rodrigo Rosenfeld Rosas
Em 26-03-2013 18:26, Godfrey Chan escreveu: Short answer to one of your questions - yes, that applies to gems/engines as well. For example, see this and this

Re: [Rails-core] Allow the controller to override the asset_host

2013-03-26 Thread Tejas Dinkar
On Mar-25-2013, at 8:01 PM, Cedric Sohrauer wrote: > While this feature would be very useful for my special use case (my > application has no access to the cdn the assets are hosted on and therefore > we have quite a lot of switches when we can and can't use the cdn), it may > not be for others