[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7922":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":16,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},7922,"comfortable-mexican-sofa","comfy\u002Fcomfortable-mexican-sofa","comfy","ComfortableMexicanSofa is a powerful Ruby on Rails 5.2+ CMS (Content Management System) Engine","",null,"Ruby",2712,620,70,30,0,60.38,"MIT License",false,"master",true,[23,24,25,26],"cms","rails","rails-engine","ruby","2026-06-12 04:00:36","# ComfortableMexicanSofa\n\nComfortableMexicanSofa is a powerful Ruby on Rails 5.2+ CMS (Content Management System) Engine\n\n[![Gem Version](https:\u002F\u002Fimg.shields.io\u002Fgem\u002Fv\u002Fcomfortable_mexican_sofa.svg?style=flat)](http:\u002F\u002Frubygems.org\u002Fgems\u002Fcomfortable_mexican_sofa)\n[![Gem Downloads](https:\u002F\u002Fimg.shields.io\u002Fgem\u002Fdt\u002Fcomfortable_mexican_sofa.svg?style=flat)](http:\u002F\u002Frubygems.org\u002Fgems\u002Fcomfortable_mexican_sofa)\n[![Build Status](https:\u002F\u002Fimg.shields.io\u002Ftravis\u002Fcomfy\u002Fcomfortable-mexican-sofa.svg?branch=master&style=flat)](https:\u002F\u002Ftravis-ci.org\u002Fcomfy\u002Fcomfortable-mexican-sofa)\n[![Coverage Status](https:\u002F\u002Fimg.shields.io\u002Fcoveralls\u002Fcomfy\u002Fcomfortable-mexican-sofa.svg?style=flat)](https:\u002F\u002Fcoveralls.io\u002Fr\u002Fcomfy\u002Fcomfortable-mexican-sofa?branch=master)\n[![Gitter](https:\u002F\u002Fbadges.gitter.im\u002Fcomfy\u002Fcomfortable-mexican-sofa.svg)](https:\u002F\u002Fgitter.im\u002Fcomfy\u002Fcomfortable-mexican-sofa)\n\n## Features\n\n* Simple drop-in integration with Rails 5.2+ apps with minimal configuration\n* CMS stays away from the rest of your application\n* Powerful page templating capability using [Content Tags](https:\u002F\u002Fgithub.com\u002Fcomfy\u002Fcomfortable-mexican-sofa\u002Fwiki\u002FDocs:-Content-Tags)\n* [Multiple Sites](https:\u002F\u002Fgithub.com\u002Fcomfy\u002Fcomfortable-mexican-sofa\u002Fwiki\u002FDocs:-Sites) from a single installation\n* Multi-Language Support (i18n) (ca, cs, da, de, en, es, fi, fr, gr, hr, it, ja, nb, nl, pl, pt-BR, ru, sv, tr, uk, zh-CN, zh-TW) and page localization.\n* [CMS Seeds](https:\u002F\u002Fgithub.com\u002Fcomfy\u002Fcomfortable-mexican-sofa\u002Fwiki\u002FDocs:-CMS-Seeds) for initial content population\n* [Revision History](https:\u002F\u002Fgithub.com\u002Fcomfy\u002Fcomfortable-mexican-sofa\u002Fwiki\u002FDocs:-Revisions) to revert changes\n* [Extendable Admin Area](https:\u002F\u002Fgithub.com\u002Fcomfy\u002Fcomfortable-mexican-sofa\u002Fwiki\u002FHowTo:-Reusing-Admin-Area) built with [Bootstrap 4](http:\u002F\u002Fgetbootstrap.com) (responsive design). Using [CodeMirror](http:\u002F\u002Fcodemirror.net) for HTML and Markdown highlighing and [Redactor](http:\u002F\u002Fimperavi.com\u002Fredactor) as the WYSIWYG editor.\n\n## Dependencies\n\n* File attachments are handled by [ActiveStorage](https:\u002F\u002Fgithub.com\u002Frails\u002Frails\u002Ftree\u002Fmaster\u002Factivestorage). Make sure that you can run appropriate migrations by running: `rails active_storage:install`\n* Image resizing is done with with [ImageMagick](http:\u002F\u002Fwww.imagemagick.org\u002Fscript\u002Fdownload.php), so make sure it's installed.\n* Pagination is handled by [kaminari](https:\u002F\u002Fgithub.com\u002Famatsuda\u002Fkaminari) or [will_paginate](https:\u002F\u002Fgithub.com\u002Fmislav\u002Fwill_paginate). Please add one of those to your Gemfile.\n\n## Installation\n\nAdd gem definition to your Gemfile:\n\n```ruby\ngem \"comfortable_mexican_sofa\", \"~> 2.0.0\"\n```\n\nThen from the Rails project's root run:\n\n    bundle install\n    rails generate comfy:cms\n    rake db:migrate\n\nNow take a look inside your `config\u002Froutes.rb` file. You'll see where routes attach for the admin area and content serving. Make sure that content serving route appears as a very last item or it will make all other routes to be inaccessible.\n\n```ruby\ncomfy_route :cms_admin, path: \"\u002Fadmin\"\ncomfy_route :cms, path: \"\u002F\"\n```\n\n## Quick Start Guide\n\nAfter finishing installation you should be able to navigate to http:\u002F\u002Flocalhost:3000\u002Fadmin\n\nDefault username and password is 'username' and 'password'. You probably want to change it right away. Admin credentials (among other things) can be found and changed in the cms initializer: [\u002Fconfig\u002Finitializers\u002Fcomfortable\\_mexican\\_sofa.rb](https:\u002F\u002Fgithub.com\u002Fcomfy\u002Fcomfortable-mexican-sofa\u002Fblob\u002Fmaster\u002Fconfig\u002Finitializers\u002Fcomfortable_mexican_sofa.rb)\n\nBefore creating pages and populating them with content we need to create a Site. Site defines a hostname, content path and its language.\n\nAfter creating a Site, you need to make a Layout. Layout is the template of your pages; it defines some reusable content (like header and footer, for example) and places where the content goes. A very simple layout can look like this:\n\n```html\n\u003Chtml>\n  \u003Cbody>\n    \u003Ch1>{{ cms:text title }}\u003C\u002Fh1>\n    {{ cms:wysiwyg content }}\n  \u003C\u002Fbody>\n\u003C\u002Fhtml>\n```\n\nOnce you have a layout, you may start creating pages and populating content. It's that easy.\n\n## Documentation\n\nFor more information on how to use this CMS please refer to the [Wiki](https:\u002F\u002Fgithub.com\u002Fcomfy\u002Fcomfortable-mexican-sofa\u002Fwiki). Section that might be of interest is the entry\non [Content Tags](https:\u002F\u002Fgithub.com\u002Fcomfy\u002Fcomfortable-mexican-sofa\u002Fwiki\u002FDocs:-Content-Tags).\n\n[Comfy Demo App](https:\u002F\u002Fgithub.com\u002Fcomfy\u002Fcomfy-demo) also can be used as an\nexample of a default Rails app with CMS installed.\n\n## Add-ons\n\nIf you want to add a Blog functionality to your app take a look at\n[ComfyBlog](https:\u002F\u002Fgithub.com\u002Fcomfy\u002Fcomfy-blog).\n\n![Admin Area Preview](doc\u002Fpreview.jpg)\n\n#### Old Versions\n\nCMS for Rails 5.1 doesn't have published gem, but you may use [rails 5.1 branch](https:\u002F\u002Fgithub.com\u002Fcomfy\u002Fcomfortable-mexican-sofa\u002Ftree\u002Frails5.1) directly.\n\nIf you want to use CMS version 1.12 on Rails 5.2 use [1.13 branch](https:\u002F\u002Fgithub.com\u002Fcomfy\u002Fcomfortable-mexican-sofa\u002Ftree\u002F1.13) directly.\n\nWith Rails 4.2 and 5.0 use gem version [1.12.10](https:\u002F\u002Frubygems.org\u002Fgems\u002Fcomfortable_mexican_sofa\u002Fversions\u002F1.12.10)\n\nWith Rails 3.0 use gem version [1.8.5](https:\u002F\u002Frubygems.org\u002Fgems\u002Fcomfortable_mexican_sofa\u002Fversions\u002F1.8.5)\n\n[CHANGELOG](\u002F\u002Fgithub.com\u002Fcomfy\u002Fcomfortable-mexican-sofa\u002Freleases) is documented\nin Github releases.\n\n#### Contributing\n\nComfortableMexicanSofa repository can be ran like a regular Rails application in\ndevelopment environment. It's as easy to work on as any other Rails app out there.\nFor more detail take a look at [CONTRIBUTING](CONTRIBUTING.md)\n\n#### Help and Contact\n\nGitter: https:\u002F\u002Fgitter.im\u002Fcomfy\u002Fcomfortable-mexican-sofa\n\nTwitter: [@GroceryBagHead](https:\u002F\u002Ftwitter.com\u002Fgrocerybaghead)\n\n#### Acknowledgements\n\nThanks to [Roman Almeida](https:\u002F\u002Fgithub.com\u002Fnasmorn) for contributing OEM License for [Redactor Text Editor](http:\u002F\u002Fimperavi.com\u002Fredactor)\n\n---\n\nCopyright 2010-2019 Oleg Khabarov. Released under the [MIT license](LICENSE)\n","ComfortableMexicanSofa 是一个适用于 Ruby on Rails 5.2+ 的强大内容管理系统（CMS）引擎。它提供简单易用的集成方式，只需少量配置即可与现有 Rails 应用无缝结合，并且 CMS 功能独立于应用的其他部分运行。该系统支持多站点管理和多语言环境，具有强大的页面模板功能、版本历史记录以及可扩展的管理界面。此外，它还集成了文件附件处理、图片缩放等功能。ComfortableMexicanSofa 非常适合需要快速搭建和管理网站内容的开发者，尤其是在需要支持多语言或多站点的情况下。",2,"2026-06-11 03:15:05","top_language"]