[Rails] Re: Editing Files in the Browser

2009-01-12 Thread Andrew Timberlake
On Mon, Jan 12, 2009 at 5:57 PM, DAZ wrote: > > Thanks for the reply Andrew, and thanks for the link - very useful and > informative (as is your blog!). > > The idea is as part of a CMS-style app, so people would have to be > signed in to edit files, and they probably wouldn't be able to choose >

[Rails] Re: Editing Files in the Browser

2009-01-12 Thread John Yerhot
> Would it be better to do this sort of thing at a database level - > saving the whole CSS text in a Theme model or something? I think that'd be the best solution. > > cheers, > > DAZ > > On Jan 12, 3:01 pm, "Andrew Timberlake" > wrote: > > > On Mon, Jan 12, 2009 at 4:37 PM, DAZ wrote: > > >

[Rails] Re: Editing Files in the Browser

2009-01-12 Thread DAZ
Thanks for the reply Andrew, and thanks for the link - very useful and informative (as is your blog!). The idea is as part of a CMS-style app, so people would have to be signed in to edit files, and they probably wouldn't be able to choose the path, just the name. I guess I would use a similar wh

[Rails] Re: Editing Files in the Browser

2009-01-12 Thread Andrew Timberlake
On Mon, Jan 12, 2009 at 4:37 PM, DAZ wrote: > > Hi, > > Is it possible to open a file (in the public directory) in a text > field, edit it and save it? > > Is it also possible to type into a new text field, then save this as a > new file in the public directory? > > One use for this I could see w