Skip to content

Commit

Permalink
Just simple content
Browse files Browse the repository at this point in the history
  • Loading branch information
equivalent committed Mar 13, 2013
1 parent 9d38de1 commit dd95621
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions wisdom_inside/scraps2/rails
@@ -1,3 +1,13 @@

# Rails path

Rails.root.join(*%w[spec fixtures files uploads]) + 'a'
=> #<Pathname:/Users/tomi/git/memo/spec/fixtures/files/uploads/a>

date: 2013-03-13
keys: rails root path route to file
rails: 3.2.12

# custom Logger

NotificationLogger = Logger.new( File.open("#{Rails.root.to_s}/log/#{Rails.env}_notifications.log", 'a') )
Expand Down

0 comments on commit dd95621

Please sign in to comment.