search for: openadvantag

Displaying 4 results from an estimated 4 matches for "openadvantag".

Did you mean: openadvantage
2006 May 05
3
Plugin refresh time
...veloping a plugin to do authentication and authorisation. In the init.rb file of the plugin I have this code:- $:.unshift File.expand_path(File.join(File.dirname(__FILE__), ''lib'')) require ''open_advantage/authorisation'' ActionController::Base.send :include, OpenAdvantage::Authorisation and this is the skeleton of my plugin directory structure:- vendor/plugins/open_advantage/init.rb vendor/plugins/lib/open_advantage/authorisation.rb the ''vendor/plugins/lib/open_advantage/authorisation.rb'' file contains module OpenAdvantage module Authorisat...
2006 Mar 22
0
Changing the onsubmit event using an RJS template
...; } even this seems a little clunky. Any ideas on simplifications that could be made to the code would be gratefully received as the chances are it''s going to have to be used multiple times for various select boxes over the site. Much thanks in advance, Anthony ----- Anthony Ramm OpenAdvantage Systems Specialist T: 0121 6341620 F: 0121 6341630 E: anthony@openadvantage.org Be enlightened - you are in control To find out more about our free IT consultancy and to visit a place on a seminar or training workshop visit http://www.openadvantage.org/ events Freedom, Choice, Control ----...
2006 Apr 27
7
HTML Title
Hi there, If I have an application.rhtml template what''s the best way to set the contents of title element in the html -> head area of the template to something set in the view for action in a controller. I want to just have one template which renders the basic layout for all pages and I''ve been scratching my head over this one for a couple of hours now. Any help
2006 May 16
1
:conditions on has_one realationship
Hi there, I''m currently building a membership application and I want to be able to select, not just all the memberships, but the most current membership from the database on a per user basis. I have linked the tables as shown:- class Membership < ActiveRecord::Base belongs_to :payment belongs_to :person end class Person < ActiveRecord::Base has_many :memberships