Hi,

I started to write a tiny rails app which comes completely as a ruby gem. 
Since this app has a big cousin in rails I did not want to use another 
framework like sinatra.

Since the app is a gem, I do not want it to store runtime-files in the 
tmp-folder. So I thought I should not stay with the convention but 
configure the location of the tmp-folder. But as far as I can see, there is 
no way to configure it.

I searched the source code and found lines like this one:

./railties/lib/rails/application/configuration.rb:        
@cache_store                   = [ :file_store, "#{root}/tmp/cache/" ]

As one can see, the tmp-folder does not follow convention over 
configuration but is hard coded.

So what about adding a configuration option? I am using Rails 4.1.

Regards
Thomas

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to