Re: [Rails-core] Re: [ANN] Rails 3.1.1.rc2

2011-10-01 Thread Corin Langosch
Hi José, thanks, everything's working fine now! :) Corin Am 30.09.2011 18:01, schrieb José Valim: Corin, The problem in your case is that Rails 3.1.1 defined a new task called environment inside the assets namespace, which is being called in your example. You can resolve the namespace

[Rails-core] sprockets 2.0.1 question (3.1.0 and 3.1.1.rc2)

2011-10-01 Thread Alexei Vakhov
Hello! I installed sprockets 2.0.1 and found that javascript_include_tag and stylesheet_link_tag dont' support script and style files from public folder anymore. If I use javascript_include_tag '/some-file-from-public.js' I get error that file not found in assets paths. Is it right behaviour? I

[Rails-core] Custom path for database.yml?

2011-10-01 Thread radhames brito
Hello, ¿I would like to know if there is any plans in the future to allow specifying a path for the database.yml? I have several apps that share a db and i think is a little redundant to have to copy the database.yml to each, also the file is out of my repo and i dont like the idea of using a

Re: [Rails-core] sprockets 2.0.1 question (3.1.0 and 3.1.1.rc2)

2011-10-01 Thread Wael Nasreddine
Why don't you put you them in the vendor/assets folder? Makes more sence there than the public folder anyway -- Wael Nasreddine Sent from my iPhone On Oct 1, 2011, at 16:43, Alexei Vakhov vak...@gmail.com wrote: Hello! I installed sprockets 2.0.1 and found that javascript_include_tag and

Re: [Rails-core] Custom path for database.yml?

2011-10-01 Thread Ben Langfeld
It strikes me that a symlink is the appropriate solution to this problem. You'd be doing it anyway with a standard Capistrano deployment. Regards, Ben Langfeld On Sat, Oct 1, 2011 at 4:14 PM, radhames brito rbri...@gmail.com wrote: Hello, ¿I would like to know if there is any plans in the

Re: [Rails-core] Custom path for database.yml?

2011-10-01 Thread Ketan Padegaonkar
This is what works for us: config.database = ENV['DATABASE_YML'] # rails 3.0.x config.paths['config/database'] = ENV['DATABASE_YML'] # rails 3.1 - Ketan studios.thoughtworks.com | twitter.com/ketanpkr On Sat, Oct 1, 2011 at 8:14 AM, radhames brito rbri...@gmail.com wrote: Hello, ¿I

Re: [Rails-core] Hacking on performance?

2011-10-01 Thread Jay Levitt
Cool, I was hoping the Rack thing was still in play. So some initial questions after looking at your Gist and reviewing Aaron's slides, but before diving into the existing Rack API: Technical: - I like the clear separation of on the way in vs on the way out in yours. - Aaron's Filter

Re: [Rails-core] sprockets 2.0.1 question (3.1.0 and 3.1.1.rc2)

2011-10-01 Thread Alexei Vakhov
Thank you! This is good way. I missed the time then public folder is completely obsolete. On Sat, Oct 1, 2011 at 7:49 PM, Wael Nasreddine wael.nasredd...@gmail.comwrote: Why don't you put you them in the vendor/assets folder? Makes more sence there than the public folder anyway -- Wael

Re: [Rails-core] sprockets 2.0.1 question (3.1.0 and 3.1.1.rc2)

2011-10-01 Thread Wael Nasreddine
Exactly things like robots.txt still lives there -- Wael Nasreddine Sent from my iPhone On Oct 1, 2011, at 21:04, Alexei Vakhov vak...@gmail.com wrote: Thank you! This is good way. I missed the time then public folder is completely obsolete. On Sat, Oct 1, 2011 at 7:49 PM, Wael Nasreddine

Re: [Rails-core] sprockets 2.0.1 question (3.1.0 and 3.1.1.rc2)

2011-10-01 Thread Santiago Pastorino
You can still put assets in public/assets/ the thing is asset helper methods included from sprockets are not documented. This is confusing and we should fix it. On Sat, Oct 1, 2011 at 10:45 AM, Alexei Vakhov vak...@gmail.com wrote: Hello! I installed sprockets 2.0.1 and found that