Displaying 20 results from an estimated 80000 matches similar to: "Rakismet plugin"
2008 Nov 22
3
Problem upgrading from Rails 2.0.2 to 2.2.2
Hey all,
I just upgraded a very simple rails based website from Rails 2.0.2 to
2.2.2. When I started up Mongrel however, I got the following error:
** Starting Rails with development environment...
ExitingC:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:530:in
`send'': undefined method `cache_template_extensions='' for
ActionView::Base:Class
2008 Oct 15
2
Adding an id to form_tag
Hi all,
When using form_for it is easy to add an id to the form using :html =>
{:id => ''someid''}
However, how would one accomplish the same when using the form_tag ?
Thank you in advance,
Schalk
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post
2008 Oct 01
10
Recaptcha (or other captchas)
Does anyone have any suggestions for a best practice implementation of
Recaptcha (or other captchas - if you recommend going another route, I''m
all ears)? I''ve found the recaptcha gem and a plugin but I don''t know
which is the best implementation, and I haven''t found a thorough
tutorial plus example code for either.
Thanks
--
Posted via
2007 Nov 27
2
failed to install acts_as_ferret plugin
After enter in the command line :ruby script/plugin install
svn://projects.jkraemer.net/acts_as_ferret/trunk/plugin/acts_as_ferret
under WIndows XP , nothing happened. I wonder why? Thank you for your
help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
2007 Dec 11
2
in_place_edit_for into which plugin?
The docs state that in_place_edit_for has been moved into a plugin for
Rails 2.0:
Module ActionController::Macros::InPlaceEditing::ClassMethods
"DEPRECATION WARNING: This method will become a separate plugin when
Rails 2.0 ships."
and the error messages seem to bear this out:
"undefined method `in_place_edit_for'' for FaqQuestionController:Class"
Anyone know which
2007 Oct 23
6
Auto complete plugin and CSRF protection-- do you care?
Hi,
I just noticed that the auto_complete plugin does not work with the
CSRF protection in Rails 2.0. I''ve patched the plugin, but I''m
wondering if people would like to see the official plugin fixed. If
so, speak up and I will write some tests and submit the patch.
Krishna
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2007 Aug 15
2
need help on writing a plugin
Hey all,
I''ve just "script/generate plugin my_plugin" and I would like to
"overload" one of my view. Say I have app/views/sessions/new.html.erb
and I would like to rewrite that file without touching it using the
plugin. Any idea how to do this? I would also like to do the same
thing with models and controllers of my application. I couldn''t find a
tutorial
2006 Nov 01
3
active_record_base_without_table plugin - Easily use models without tables
Hi all,
Here''s another little plugin I wrote to use AR models without tables. It''s
dead simple, just extend from ActiveRecord::BaseWithoutTable instead of
ActiveRecord::Base:
class Contact < ActiveRecord::BaseWithoutTable
column :name, :string
column :email_address, :string
column :message, :text
validates_presence_of :name, :email_address, :message
end
2009 Mar 03
2
Looks like a bug - Ruby1.9.1Rails2.3.0 - script/plugin
I started talking this one up yesterday - I''ve gotten as close to a
good problem statement as I can.
1) script/about:
Ruby version 1.9.1 (powerpc-darwin9.6.0)
RubyGems version 1.3.1
Rails version 2.3.0
Active Record version 2.3.0
Action Pack version 2.3.0
Active Resource version 2.3.0
Action Mailer version 2.3.0
Active Support version
2009 Mar 11
6
Monkey Patching a Plugin
I am using a plugin that adds a method to ActiveRecord::Base. The
added method is called self.create_or_update. I need to monkey patch
this method. I tried in lib/ config/initializers and in
environment.rb, but the one in the plugin is always the one that is
run.
Where do I put my version of the method so that it overrides that of
the plugin? I only use this method when running a rake task, so
2007 Jan 29
2
Secure Actions Plugin
Hi all,
This plugin lets you specify which actions *must* be run under ssl
(https). If a declared action is run without ssl, the user is redirect
to https. Also, once you declare an action to "require_ssl", any links
to that action are going to be https:// links.
http://svn.ianwarshak.com/plugins/secure_actions
Hopefully you all will find this useful.
Ian
2008 Jul 27
0
dhtml_calendar Plugin and dates
Man I am frustrated. 4 hours working on this and i can''t find an
answer. Here it goes.
I had some simple date select fields on a form. Then I wanted to add
some additional datetime fields on a form with a nice widget so I
installed the dhtml_calendar plugin. Now my migrations and forms don''t
work on insert stating that the argument is out of range.
Here is line #62 in the
2008 Nov 11
1
captcha plugin
Hi all,
I was working through the simply rails book, i have completed up to
chapter 10, now i would like to add a captcha to my login form, where
can i get the captcha plugin? can anybody suggest any links for
captcha plugin that would work for rails version 2.0.2 ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2008 Mar 01
2
How to cache data in a plugin
Hi,
I''m using CountryCodes to get countries list for select box. It
provides self.countries_for_select(*args) method exactly for this
purpose. I''m using it in only one place in my view. So I was thinking
about caching this data somehow, so it won''t have to be recreated
every time the page is loaded.
The problem is that the plugin initializes its main @countries
2008 Oct 02
2
alternative to "script/plugin install -x" that works with git
I miss the svn:externals feature when installing plugins that are
managed under git. the -x switch used to do this.
I''ve released a gem called externals that manages subprojects in an
scm agnostic way so that I can use an svn:externals-like workflow with
git.
It''s used like this: ext install git://github.com/rails/acts_as_list.git
This accomplishes the same thing as:
2007 Sep 12
1
Counter cache like plugin for sum
Hi list,
Is there a plugin similar to counter_cache except for caching sums
instead of counts? The reason I ask is for performance and convenience
for reporting.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2008 May 31
2
Exec format error during globalize plugin install
While trying to install the globalize plugin (website down? --
http://www.globalize-rails.org/globalize/) for Rails, all the files
seem to be transferred and placed properly, but I get the following
error when install.rb attempts to run:
Exec format error - rake -f C:/clients/MyClient/code/vendor/plugins/
globalize/../../../Rakefile globalize:upgrade_schema_to_1_dot_2 &&
exit 1
I see
2006 Aug 23
2
new plugin: "redbox", a lightbox/thickbox clone with nice rails integration
Hi folks,
I''ve written a little plugin to use for displaying a block of html over
a page while fading out the background. This is like the lightbox.js
library, and all it''s related offshoots (thickbox, greybox, etc.). My
plugin, Redbox, is not really any better than these others (in fact,
it''s less mature, and less tested), but it builds on prototype and
scriptaculous,
2006 Sep 26
0
Code coverage of a rails plugin
Guys
I''ve been struggling with this one for a couple of hours, and nothing
seems to work here, any advice would be duly appreciated...
Background: I''m busy working on a plugin called "shared_models",
allowing you to easily share models between different applications,
running different database or on the same database. The plugin is
nearly complete, offering a
2007 Dec 30
1
restful_authentication plugin + session timeout + single login session?
Hi,
I am using restful authentication plugin
1) I was wondering if there is a way to do a session timeout using the
restful_authentication.
How do I hack it to get the behaviour I need?
2) On top of that, I may need to ensure that a particular user can
only login from a single PC. If the user is already logged in at a PC
and attempts to login from another PC, the session in which he signs
in