Friday 15 February 2013

postgresql - How to implement a rich text document store in Rails -


I need a small (total of 100 total) document stores in a railway 3.2 application where a user is created, edited, Save, and remove rich text documents (ideally images and other attached items). There is no file system available in the PostGreysQL database tables should be anything. Documents will serve as system-wide email and message banner templates.

My view is CeAditator but Wired for attachments in the form of files; In addition, it does not provide documentation / update storage, just attach the attachment.

I know how to roll your own model / controller / see CKAditator, but there is definitely a simple way.

What is the most direct way to target your rich text document store? Is there any plugin or gem?

And CKAditor Reference: It looks like a big project, but it's 2 years like the default, but no other document does.

More

There is also dropbox in the form of suggestion S3. As I said, the data should be in PGSQL tables. Good news: found paperclip_database gem bad news: ckeditor does not work seamlessly with gem main issue source file database.rb : This bit is boiled in

  def setup_paperclip_files_model #TODO: it fails when your model is in a namespace   

Really like this, like That happens in the Ckeditor :: Asset model! Now a monkey is trying to patches if someone has already worked these three gems right together, then I will reward you for an indicator!

"post-text" itemprop = "text">

Pretty sure that CK editor makes the Database Form field easy to edit, which requires you to edit the document yourself Is it right?

As far as the attachment is in storage, you can use to manage the attachments - the file storage is just the default. If you use paperclips, you can choose from several memory options from there. You can use one, such as Amazon S3 Storage, or create your own.

Hope that helps.

No comments:

Post a Comment