[Rails] (newbie?) Questions regarding local Rails installations as a CMS for remote websites

Scott Phelps rails at agilemethods.net
Wed Dec 14 21:07:25 GMT 2005


On Dec 14, 2005, at 3:35 PM, Samo Korosec wrote:

>
> On Dec 14, 2005, at 9:20 PM, Scott Phelps wrote:
>
>>
>> Rails is not SQL specific it uses the Active Record ORM.
>
> Ah, so I'd need to generate the SQL with MySQL. That's ok, I can  
> keep track of the row IDs and get those then.
>
>> As far as FTP - that is not a function (api) in any languages I  
>> know of.  You'll have to write it in Ruby or use post data for  
>> uploads.
>
> Well it's part of the APIs used with Cocoa (CoreFoundation, CFFTP)  
> and PHP also offers functions to upload open files via FTP  
> (ftp_put), so I tought it's part of the Ruby installation (or  
> availible as a gem).

That was dumb of me to say that.  Ruby has it!

http://www.ruby-doc.org/stdlib/libdoc/net/ftp/rdoc/

I didn't know PHP had that too, cool.


More information about the Rails mailing list