<commit_before># Submissions

![Refinery Submissions](http://refinerycms.com/system/images/BAhbBlsHOgZmSSIqMjAxMS8wNS8wMS8wNF81MF8wMV81MDlfaW5xdWlyaWVzLnBuZwY6BkVU/inquiries.png)

### Gem Installation using Bundler (The very best way)

Include the latest [gem](http://rubygems.org/gems/refinerycms-submissions) into your Refinery CMS application's Gemfile:

    ./script/plugin install git://github.com/levycarneiro/akismetor
    gem 'refinerycms-submissions', '~> 1.2', :git => 'http://github.com/jrissler/refinerycms-submissions'

Then type the following at command line inside your Refinery CMS application's root directory:

    bundle install

#### Installation on Refinery 0.9.9 or above.

To install the migrations, run:

    rails generate refinerycms_submissions

Next migrate your database and you're done:

    rake db:migrate

## About

__Add a simple contact form to Refinery that notifies you and the customer when an submission is made.__

In summary you can:

* Collect and manage submissions
* Specify who is notified when a new submission comes in
* Customise an auto responder email that is sent to the person making the submission

## Akismet SPAM filter
to-do add content

## How do I get Notified?

Go into your 'Submissions' tab in the Refinery admin area and click on "Update who gets notified"

## How do I Edit the Automatic Confirmation Email

Go into your 'Submissions' tab in the Refinery admin area and click on "Edit confirmation email"

## How do I change the from address from <EMAIL> to no-reply@[mydomain].com.au

Simply change the Refinery setting 'Tld Length' in the admin section from 1 to 2 and your domain name will be added.

Note: This only affects top level domains that are two deep (ie: not .com or .org, but does affect .com.au etc).
<commit_msg>Updated readme for rails 2/3<commit_after># Submissions

![Refinery Submissions](http://refinerycms.com/system/images/BAhbBlsHOgZmSSIqMjAxMS8wNS8wMS8wNF81MF8wMV81MDlfaW5xdWlyaWVzLnBuZwY6BkVU/inquiries.png)

### Gem Installation using Bundler (The very best way)

Include the latest [gem](http://rubygems.org/gems/refinerycms-submissions) into your Refinery CMS application's Gemfile:
    Rails 2
    ./script/plugin install git://github.com/levycarneiro/akismetor
    Rails3 (I need to convert to a gem!)
    rails plugin install git://github.com/levycarneiro/akismetor
    
    
    Both (add to Gemfile)
    gem 'refinerycms-submissions', '~> 1.2', :git => 'http://github.com/jrissler/refinerycms-submissions'

Then type the following at command line inside your Refinery CMS application's root directory:

    bundle install

#### Installation on Refinery 0.9.9 or above.

To install the migrations, run:

    rails generate refinerycms_submissions

Next migrate your database and you're done:

    rake db:migrate

## About

__Add a simple contact form to Refinery that notifies you and the customer when an submission is made.__

In summary you can:

* Collect and manage submissions
* Specify who is notified when a new submission comes in
* Customise an auto responder email that is sent to the person making the submission

## Akismet SPAM filter
to-do add content

## How do I get Notified?

Go into your 'Submissions' tab in the Refinery admin area and click on "Update who gets notified"

## How do I Edit the Automatic Confirmation Email

Go into your 'Submissions' tab in the Refinery admin area and click on "Edit confirmation email"

## How do I change the from address from <EMAIL> to <EMAIL>

Simply change the Refinery setting 'Tld Length' in the admin section from 1 to 2 and your domain name will be added.

Note: This only affects top level domains that are two deep (ie: not .com or .org, but does affect .com.au etc).

{'fraction_non_alphanumeric': 0.0701848379319582, 'fraction_numerical': 0.01017948031074203, 'mean_word_length': 4.326676176890157, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '4167107', 'n_tokens_mistral': 1197, 'n_tokens_neox': 1115, 'n_words': 474}