-
Hey, I've been wracking my head trying to figure this one out and I've hit a wall. Ever since upgrading our app to Rails 3.1 and RSpec 2.7, the URL helpers are broken in view specs. Example backtrac…
-
This method has the support of data_uri, how to get a picture of URL?
-
The following script worked fine in Rails 3.2.6, but no longer does in 3.2.11:
```
def download_file
filename = 'my_memories.txt'
file = File.open(filename, 'w') # creates a new file and writ…
-
Hey guys-
Hoping this is an easy one.. the APIs I'm building requires a facility to upload and download files, but i'm having trouble getting send_file to work (not including the right stuff).
Or is…
-
`ActionController::DataStreaming#send_file` and `ActionController::DataStreaming#send_data` [should not require](https://github.com/rails/rails/blob/v3.1.0/actionpack/lib/action_controller/metal/data_…
-
I can access this fine in my views, but when I try to access the current user in my controller I'm receiving the following:
```Routing Error
undefined local variable or method `current_user' for Ass…
-
Hi,
suppose I upload an attachment with name "foo.txt" and later upload a **different file** but with the same name. In production, (i.e. with config.cache_classes = true), if I request the attachmen…