README.markdown in ask-0.4.1 vs README.markdown in ask-0.5.0

- old
+ new

@@ -5,11 +5,15 @@ Requirements ------------ - Rails 3.1 or higher - jQuery - jQuery UI +- Uses Carrierwave for uploads +More information will be on the [wiki](https://github.com/biola/ask/wiki). + + Installation ------------ Add to your Gemfile: gem 'ask' @@ -73,9 +77,19 @@ class EventRegistration < ActiveRecord::Base def asker return event end end + + +Configuration +------------- +If you want to changed the default whitelisted file types for upload questions, just drop this into an initializer file. + + Ask.configure do |config| + @upload_whitelist = %w(jpg jpeg gif png doc docx txt pdf xls xlsx zip) + end + License ------- MIT License