Skip to content
Browse files

Just simple content

  • Loading branch information...
1 parent 9d38de1 commit dd95621532a274cc1904a7f525774b586bd8e34b @equivalent committed Mar 13, 2013
Showing with 10 additions and 0 deletions.
  1. +10 −0 wisdom_inside/scraps2/rails
View
10 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') )

0 comments on commit dd95621

Please sign in to comment.
Something went wrong with that request. Please try again.