Displaying 6 results from an estimated 6 matches for "commanderjohnson".
2008 Oct 26
3
Undefined method f_title
Hi,
This is my migration:
class CreateSampleForms < ActiveRecord::Migration
def self.add_data
SampleForm.create(:name => ''Default (Empty)'', :f_type => ''Default
(Empty)'', :description => ''Use this template to create a blank form.'')
end
def self.up
create_table :sample_forms do |t|
t.string :name, :null =>
2012 Jun 09
0
Re: ActiveRecord::SubclassNotFound: The single-table inheritance mechanism failed to locate the subclass: 'Transactions::DummyDdnlTransaction'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. P
...I put it into its own module. So my guess is
Transactions::Transaction still somehow got resolved to the Rails
internal Transaction class.
Renamed the Transaction (and its subclasses) to Transact and it works fine now.
Thanks!
-- cmdjohnson
On Sat, Jun 9, 2012 at 3:08 AM, Commander Johnson
<commanderjohnson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Hello,
>
> I stumble upon this error when loading a subclass of the Transaction
> class. For full details, see the pastie:
>
> http://pastie.org/4053678
>
> Error message: ActiveRecord::SubclassNotFound: The single-table
&...
2008 Sep 19
0
11 deleted messages in this conversation.
Hi,
I''m using Gmail to follow the list.
Way below in the conversation, I see this message:
11 deleted messages in this conversation.
Any ideas why this is? Gmail does a good job in showing only the relevant
messages, but deleting seems a bit rough?
CmdJohnson
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
2008 Oct 05
1
Multiple tenants on Rails
Hi,
I''ve dug into some previous discussion on this list about having multiple
clients running on a single Rails site.
I can see how to work this out with a single project type. For example, my
tenants all have their own CMS in a single Rails environment.
What if 3 of my clients have a CMS site, 5 have an e-book site and 2 a
dating site. Is there a way to house these websites within a
2011 Mar 12
0
preferences gem version 0.4.2
Hello,
I installed the preferences gem (0.4.2) but it doesn''t load the file
app/preference.rb which causes the plugin to fail. I''m on Rails 2.3.11. Any
tips on what I should add to get it working? I''m sure the gem wasn''t put on
RubyGems.org just to annoy people that download it ..
The plugin does work. I guess it''s all in the name of the guy that made
2012 Jun 09
3
ActiveRecord::SubclassNotFound: The single-table inheritance mechanism failed to locate the subclass: 'Transactions::DummyDdnlTransaction'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Pleas
Hello,
I stumble upon this error when loading a subclass of the Transaction
class. For full details, see the pastie:
http://pastie.org/4053678
Error message: ActiveRecord::SubclassNotFound: The single-table
inheritance mechanism failed to locate the subclass:
''Transactions::DummyDdnlTransaction''. This error is raised because the
column ''type'' is reserved for