Displaying 4 results from an estimated 4 matches for "basewithoutt".
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
You can now use this model just like you would use a regu...
2008 Oct 06
1
Accessing Oracle Package in models
Hi All,
Just wanted to know if we can write models for the Oracle packages.
Like, if I have an oracle package named "user_pkg", and a function
function_1 in it, can I have a model under the name "UserPkg" and then
access the function "function_1", in it.
If creating a model is not the right way, how to access those packages
in the models?
Regards,
Anand.
--
Posted
2007 Oct 23
11
validates_confirmation_of not working?
I just can''t get validates_confirmation_of working for the life of
me!...
It''s not the first time I''m having problems with it but I just never
understand why!... This time I pretty much followed *exactly* the
example in Agile Rails Development and still...it just won''t work! I put
2 different passwords in the form and it doesn''t trigger an error,
2010 Mar 09
4
edit existing PDF as template
Hi,
I am new to rails. I need to edit an existing pdf file and fill in some
data and send it to browser, how to implement this? Is there an example
online I can look at it?
Thanks!
--
Posted via http://www.ruby-forum.com/.
--
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