Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Commit

Permalink
Tweaks Development environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
joegatt committed Jun 23, 2013
1 parent 12262ab commit cbcf172
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Guardfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ guard 'rspec', cli: "--drb --format Fuubar --color", all_after_pass: false, all_
watch(%r{^spec/controllers/.+_spec\.rb$})
watch(%r{^spec/models/.+_spec\.rb$})
watch(%r{^spec/helpers/.+_spec\.rb$})
watch(%r{^spec/mailers/.+_spec\.rb$})
watch(%r{^spec/routing/.+_spec\.rb$})
watch(%r{^spec/requests/.+_spec\.rb$})
watch(%r{^spec/features/.+_spec\.rb$})

watch(%r{^app/models/(.+)\.rb$}) { |m| "spec/models/#{m[1]}_spec.rb" }
watch(%r{^app/helpers/(.+)\.rb$}) { |m| "spec/helpers/#{m[1]}_spec.rb" }
watch(%r{^app/mailers/(.+)\.rb$}) { |m| "spec/mailers/#{m[1]}_spec.rb" }
watch(%r{^app/controllers/(.+)_(controller)\.rb$}) do |m|
[
"spec/routing/#{m[1]}_spec.rb",
Expand Down
1 change: 1 addition & 0 deletions config/initializers/better_errors.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BetterErrors.editor = :sublime if defined? BetterErrors
2 changes: 1 addition & 1 deletion config/initializers/rails_admin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# or for a dynamic name:
# config.main_app_name = Proc.new { |controller| [Rails.application.engine_name.titleize, controller.params['action'].titleize] }


config.yell_for_non_accessible_fields = false
# ==> Global show view settings
# Display empty fields in show views
# config.compact_show_view = false
Expand Down

0 comments on commit cbcf172

Please sign in to comment.