<commit_before>=Casein - a lightweight Ruby on Rails CMS

**WORK IN PROGRESS FOR A RAILS 4.x VERSION**

Casein is a Rails 4.x gem that provides scaffolding generators and helper functions to quickly create a clean and minimal CRUD (Create, Read, Update and Delete) interface for your data. It also comes with a pre-rolled user authentication system. As Casein is completely decoupled from the front-end, it can be added to a new or existing Rails project, or used as a standalone CMS to drive platforms built on other technologies.

==Requirements

This version of Casein is designed for Ruby on Rails 4.x and Ruby 2.x.

Legacy versions:

Rail 3.x: http://github.com/spoiledmilk/casein3

Rails 2.x: http://github.com/spoiledmilk/casein

==Disclaimer

Casein was created and is maintained by <NAME> (http://www.russellquinn.com)

Previous versions of Casein were sponsored by Spoiled Milk (http://www.spoiledmilk.com)

Casein is available to use under the terms of the MIT License. See the LICENSE file for more details.

==What’s New

Casein 4.x built for Ruby on Rails 3 and has the following major updates:

* Support for strong parameters
* Rails 4 compatibility fixes
* Many other tweaks and improvements over Casein 3.x

==Installation

— Create a new Rails project (or use an existing one) and enter the project directory from a terminal prompt.

— Add the Casein gem to your Gemfile:

  gem 'casein'

— Then use bundler to install Casein and its dependencies:

  sudo bundle install
	
— If you have just created a new project, then remember to add your database details to /config/database.yml at this point.

— To enable Casein notification emails (used for new users and forgotten passwords) then add your SMTP server information to your initializers. For development, you can use something cool like MailCatcher (http://mailcatcher.me)

— Install Casein configuration files into your project. This should not be run more than once without backing up or merging the generated files, as your customisations will be overwritten:

  rails g casein:install
	
— Add Casein assets to your project /public folder. These should not be modified as they may be overwritten in future updates:.

  rails g casein:update
	
— Perform a database migration to create the Casein users table:<commit_msg>ReadMe update<commit_after>=Casein - a lightweight Ruby on Rails CMS

**WORK IN PROGRESS FOR A RAILS 4.x VERSION**

Casein is a Rails 4.x gem that provides scaffolding generators and helper functions to quickly create a clean and minimal CRUD (Create, Read, Update and Delete) interface for your data. It also comes with a pre-rolled user authentication system. As Casein is completely decoupled from the front-end, it can be added to a new or existing Rails project, or used as a standalone CMS to drive platforms built on other technologies.

==Requirements

This version of Casein is designed for Ruby on Rails 4.x and Ruby 2.x.

Legacy versions:

Rail 3.x: http://github.com/spoiledmilk/casein3

Rails 2.x: http://github.com/spoiledmilk/casein

==Disclaimer

Casein was created and is maintained by <NAME> (http://www.russellquinn.com)

Previous versions of Casein were sponsored by Spoiled Milk (http://www.spoiledmilk.com)

Casein is available to use under the terms of the MIT License. See the LICENSE file for more details.

==What’s New

Casein 4.x built for Ruby on Rails 3 and has the following major updates:

* Support for strong parameters
* Rails 4 compatibility fixes
* Many other tweaks and improvements over Casein 3.x

There is no real upgrade path from previous versions of Casein. It’s recommended to only use Casein 4.x on new projects.

==Installation

— Create a new Rails project (or use an existing one) and enter the project directory from a terminal prompt.

— Add the Casein gem to your Gemfile:

  gem 'casein'

— Then use bundler to install Casein and its dependencies:

  sudo bundle install
	
— If you have just created a new project, then remember to add your database details to /config/database.yml at this point.

— To enable Casein notification emails (used for new users and forgotten passwords) then add your SMTP server information to your initializers. For development, you can use something cool like MailCatcher (http://mailcatcher.me)

— Install Casein configuration files into your project. This should not be run more than once without backing up or merging the generated files, as your customisations will be overwritten:

  rails g casein:install
	
— Add Casein assets to your project /public folder. These should not be modified as they may be overwritten in future updates:.

  rails g casein:update
	
— Perform a database migration to create the Casein users table:
{'fraction_non_alphanumeric': 0.04966044142614601, 'fraction_numerical': 0.004881154499151104, 'mean_word_length': 4.254180602006689, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7604081', 'n_tokens_mistral': 1305, 'n_tokens_neox': 1217, 'n_words': 713}