similar to: Unicode hacks - problem

Displaying 20 results from an estimated 200 matches similar to: "Unicode hacks - problem"

2006 Mar 30
4
with_scope and filters for Rails 1.1 (scoped_access plugin)
Has anyone successfully gotten the scoped_access[1] plugin to work in Rails 1.1? Some of the methods it was relying on are now no longer accessible. It seems the only way to add scope is to use the ''with_scope'' method that takes a block, but since Rails doesn''t have real around filters[2] I cannot see a way of adding a scope using a filter. Anyone using with_scope
2006 Jun 28
2
[PATCH] Bug fixes and additions to scoped_access
I found that scoped_access does not re-evaluate the filters on every run. If you are filtering access based on parameters, this can be bad. The scope is set on the first request and then further requests use the last generated scoping. The initial part of ScopedAccess::Filter#before looks like this: @scoping = controller.instance_eval(@scoping.to_s) if @scoping.is_a?(Symbol) This makes
2008 Mar 28
1
undefined method ''alias_method_chain''
Running Rails 2.0.2, I get this error: ./script/../config/../vendor/plugins/facebooker/lib/facebooker/rails/facebook_url_rewriting.rb:29: undefined method `alias_method_chain'' for ActionController::UrlRewriter:Class (NoMethodError) from /usr/local/rubygems/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' from
2006 Apr 24
5
New RBAC Plug-In for Rails
Hi, I just finished writing this plug-in. I''ve been using rails for awhile but this is my first time extracting some code and writing it as a plug-in and I''d love to hear to some feedback. Thanks. http://mitchellhashimoto.com/rails/role-based-access-control-plug-in-for-rails/ -Mitchell -- Posted via http://www.ruby-forum.com/.
2008 Oct 28
1
Old Rails app: can't find file_column gem?
Hi all I''m trying to get some old Rails app to work. But when trying to start it, I get the following error: josh$ script/server => Booting WEBrick... ./script/../config/../config/environment.rb:5: warning: already initialized constant RAILS_ENV /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `gem_original_require'': no such file to load -- file_column
2006 Feb 09
4
Login_Engine: trouble configuring
Hi Guys, I''m having some trouble getting login_engine to work. I''ve followed the steps in the README file to the letter (I think) with the exception of the Mailer stuff and cannot get my application to run. Heres what I have; module ApplicationHelper include login_engine end ##################################### require ''login_engine'' class
2007 Sep 12
0
Error when running migrations
I''ve checked out a rails project that i''m working on from a repository, and created a new database for it. However whenever i try and run the migrations i get the following error: rake aborted! #<AppConfig:0xb7870f84> is not a class/module Whenever I try to fire up a webrick server, i get the following error: => Booting WEBrick...
2006 Feb 01
2
Uninitialized constant ApplicationController?
Hello list, I''m trying to start my Rails server after doing a long complex switch from Postgres to MySQL, and I''m getting the following error: => Booting WEBrick... /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'': uninitialized constant ApplicationController (NameError) from
2007 Feb 08
1
Problem with acts_as_taggable table migration
I just installed acts_as_taggable in my Rails app, and built the migration for the needed tables. When I went to run the migration via the rake command I got this: /Users/brianlandau/rails/lispr/config/../vendor/plugins/ acts_as_taggable/lib/acts_as_taggable.rb:1: syntax error, unexpected $end "WHERE #{table_name}.#{primary_key} = taggintags, taggings " +e_record_descendant,
2008 Oct 14
1
Starting Server gives an error
Hi, I had created a new environment and tried to start the webrick server for that environment but it is giving an error:- E:/demo/vendor/rails/railties/lib/commands/servers/ webrick.rb:11: warning: already initialized constant OPTIONS E:/demo/vendor/rails/activesupport/lib/active_suppo rt/dependencies.rb:249:in `load_missing_constant'': Expected E:/Demo
2007 Sep 26
0
Rake DB Migration
Hai All, i have installed Ruby and Rails in my localhost, and i have to download Rubricks CMS and installed in my localhost in the installing process i got below Error Please Say how can i rectify this. ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! wrong number of arguments (1 for 0)
2006 Nov 29
6
Noob needs help installing backgroundrb on Windows XP
Hey Guys, In the readme for Backgroundrb it says that windows support has been depcreated for this version, but then it goes on to mention how to use it in Windows. So I''m not sure if it should be running on windows or not, so I''ll ask anyway. Also, I''m new to ruby and I''m also new to server administration, so I apologize if my questions are pretty
2007 Jun 20
4
custom menu plugin not working in 0.4.4
I was pushing out a new version of a site I have that I think was last generated with webgen 0.4.1. Since my gems are updated to 0.4.4 I''m getting this error when running ''webgen''. I''ve reverted back to 0.4.2 and that is the version where this custom vertical menu plugin starts breaking. So I''m not sure what has changed to cause this. I get this
2007 Mar 05
1
Creating a simple tag plugin
I want to create a tag processor that is activated by something like: {flickr: http://www.flickr.com/photos/censi/232006603/} (it then downloads from flickr the description of the photo -- look for example at http://www.dis.uniroma1.it/~acensi/category/sss06.html) This is my flickr.rb: load_plugin ''webgen/plugins/tags/tag_processor'' module Tags class FlickrTag <
2007 Mar 06
1
photo_gallery
Hi, I''m trying to build the photo_gallery (example), but receive the following error: $ webgen /home/ov/work/photo_gallery/plugin/collage.rb:90:in `load_plugin'': uninitialized constant #<Module:0xb7153b48>::Collage::FileHandlers (NameError) ? ? ? ? from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/plugin.rb:224:in `load_from_file'' ? ? ? ? from
2007 Mar 20
1
submitting a patch
I''ve created a short patch so that spec.opts can use a single line (or multiple lines for backwards compatibility) for options. I''ve run the specs against spec:trunk I have two questions: 1. I''ve run rake pre_commit, but after the specs are done running, I get this error: rake aborted! ERROR while running webgen: /opt/local/lib/ruby/site_ruby/1.8/
2007 Mar 09
0
Merb + attachment_fu
Merbists, I saw a note in the attachment_fu source code regarding supporting Merb[1] as well as a post on the Caboose forum[2]. Has anyone gotten Merb working with Rick Olson''s attachment_fu to handle uploads for a Rails app? I''ve hacked together something, but it''s not pretty. Besides fixing the TODO mentioned in the attachment_fu source code to support Merb
2008 Mar 09
2
issue with plugin loading
OK, I''m once again talking about my future almighty isbn loader. I have written quite all the ruby code I need and, using a basic test, checked it works. Now, I''me having issues running the code. When I run webgen, I got the following error : C:\Documents and Settings\Maison\Bureau\nicolas-delsaux.is-a-geek>webgen C:/Documents and
2008 Jun 24
0
scoped_access plugin and 2.0
Hi It would seem that the scoped_access plugin from http://wota.jp/svn/rails/plugins/branches/stable/scoped_access is incompatible with Rails 2.0.2. /home/httpd/rails/demoone/vendor/plugins/scoped_access/init.rb:18:in `alias_method'' undefined method `prepare_application'' for class `Class'' ( NameError ) from
2006 Jun 19
1
server crash log
Hi, I''m new to mongrel and so far have liked it a lot during development. I just tried to stand up a production server following the guide here: http://blog.innerewut.de/articles/2006/04/21/scaling-rails-with-apache-2-2-mod_proxy_balancer-and-mongrel This was working well for a few days, until this weekend it crashed with the following stack trace. It''s running on redhat