How to share file in Rails to users

I have some pdf files in public/data I would like to share files to user ( the user can write url file and can see the file).

Answers


Place file in public folder in root of your application. For example, if you have foo.txt document, user can type http://you_url/foo.txt and see it.


Need Your Help

Selecting rows in one dataframe based on data in another dataframe in Python Pandas

python pandas

I have two dataframes created with Pandas. The first one has co-occurrences of items happening in certain years:

How do I get the title of the current active window using c#?

c# .net windows winforms

I'd like to know how to grab the Window title of the current active window (i.e. the one that has focus) using C#.