Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated rails-footnotes plugin, appears to be fully operational

  • Loading branch information...
commit 41bd62f2cae35ff44765c0a149734d456aa41738 1 parent 8478d29
activefx authored
View
6 .gitmodules
@@ -19,9 +19,6 @@
[submodule "vendor/plugins/recaptcha"]
path = vendor/plugins/recaptcha
url = git://github.com/ambethia/recaptcha.git
-[submodule "vendor/plugins/footnotes"]
- path = vendor/plugins/footnotes
- url = git://github.com/activefx/rails-footnotes.git
[submodule "vendor/plugins/uberkit"]
path = vendor/plugins/uberkit
url = git://github.com/activefx/uberkit.git
@@ -31,3 +28,6 @@
[submodule "vendor/plugins/open_id_authentication"]
path = vendor/plugins/open_id_authentication
url = git://github.com/activefx/open_id_authentication.git
+[submodule "vendor/plugins/footnotes"]
+ path = vendor/plugins/footnotes
+ url = git://github.com/drnic/rails-footnotes.git
View
8 README
@@ -50,10 +50,8 @@ CURRENT FEATURES
- ruby-openid-2.1.2
KNOWN ISSUES
- - View and Layout notes for the rails-footnotes plugin do not work due to changes to ActionView::Base
- - SessionsController#create returns ActionController::InvalidAuthenticityToken unless protect_from_forgery is skipped for the create action. This may just be an issue on my end from fooling with the cookies, secret, and session key.
- Roles controller needs to be redesigned. Currently mass assigns user (shouldn't be a problem because only admins can access the controller) and can return the wrong flash message if the role association is updated but user validations still fail.
- - Not sure if the exception_logger is working properly. If someone can test and let me know if it works or what the problem is it would be greatly appreciated. I think an error with the rails-footnotes plugin is preventing exceptions from being logged.
+ - Not sure if the exception_logger is working properly. If someone can test and let me know if it works or what the problem is it would be greatly appreciated.
TODO
- Fix known issues
@@ -73,7 +71,6 @@ Exception_logger by Chris Wanstrath appears to be released under the MIT License
- http://github.com/defunkt/exception_logger/tree/master
Rails-footnotes by Jose Valim and Duane Johnson is released under the MIT License
- http://github.com/drnic/rails-footnotes/tree/master
- - http://github.com/activefx/rails-footnotes/tree/master (modified for restful_authentication_tutorial)
Open_id_authentication by David Heinemeier Hansson is released under the MIT License
- http://github.com/rails/open_id_authentication/tree/master
- http://github.com/activefx/open_id_authentication/tree/master (modified for restful_authentication_tutorial)
@@ -112,6 +109,9 @@ Flash Messages:
- http://rubypond.com/articles/2008/07/11/useful-flash-messages-in-rails/
Exception Logger:
- http://railscasts.com/episodes/104
+Setting up your editor for the footnots plugin:
+ - http://josevalim.blogspot.com/2008/06/textmate-protocol-behavior-on-any.html
+ - http://www.beanlogic.co.uk/2008/7/12/gedit-on-rails
Beta Invitations:
- http://railscasts.com/episodes/124-beta-invitations
ar_mailer gem:
View
2  config/environment.rb
@@ -75,4 +75,4 @@
#Change for your text editor
#Ex. Textmate = "txmt://open?url=file://"
#See also http://josevalim.blogspot.com/2008/06/textmate-protocol-behavior-on-any.html
-Footnotes::Filter.prefix = "file://"#"gedit://open?file://"
+Footnotes::Filter.prefix = "gedit://"
View
46 gediturl
@@ -0,0 +1,46 @@
+#!/usr/bin/ruby
+#
+#
+# Taken from http://www.beanlogic.co.uk/2008/7/12/gedit-on-rails
+# Modified for restful_authentication_tutorial to work with
+# the rails-footnotes plugin, gedit, ubuntu, and firefox.
+# Make sure this file is executable ex. chmod ugo+rwx gediturl
+#
+#
+#
+# Copyright (c) 2004 - 2008 Beanlogic Limited
+#
+# This file is part of gedit_on_rails.
+#
+# gedit_on_rails is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# gedit_on_rails is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with gedit_on_rails. If not, see <http://www.gnu.org/licenses/>.
+#
+# This file handles the openning of rspec examples
+
+#GEDIT = 'which gedit'.chomp
+
+url = ARGV.first
+
+url = url[8..url.length]
+
+file, line = url.to_s.split('&')
+
+if !line.nil?
+ l = line[5..line.length]
+ system("/usr/bin/gedit #{file} +#{l}")
+else
+ system("/usr/bin/gedit #{file}")
+end
+
+
+
2  vendor/plugins/footnotes
@@ -1 +1 @@
-Subproject commit 1dd54eb1b130cb4e868565ac95d63a0eb4994d9e
+Subproject commit e174a0d14a873fa9303f2e7ed92edf716f667410
Please sign in to comment.
Something went wrong with that request. Please try again.