Stupid activeldap is messing with my mind ;-)
rails (3.1.1
activeldap (3.1.0)
rubygems-update (1.4.2)
I have activerecord (database.yml/postgresql) and activeldap (ldap.yml) as
configured sources for my models.
I want to add some more things to my models but activeldap is killing my
attempts to create migrations...
cwhite@nxpc:~/tti_framework$ rails generate migration AddSettings
error active_ldap [not found]
Last time, I manually created the migration file which I can keep on doing but
it seems that I should be able to actually generate migrations (I could generate
models but they defaulted to ActiveLdap::Base rather than ActiveRecord::Base too
and thus didn''t automagically create migrations)
perhaps my problem stems from here...
cwhite@nxpc:~/tti_framework$ head -n 5 config/application.rb
require File.expand_path(''../boot'', __FILE__)
require ''rails/all''
require "active_ldap/railtie"
require ''will_paginate/data_mapper''
But I don''t know. Anyone know how I can clean this nuisance up?
--
Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
craig.white-wmL3h9Ogt9Bhl2p70BpVqQ@public.gmane.orgm
1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com
Need help communicating between generations at work to achieve your desired
success? Let us help!
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
I''m facing this issue too. Did you ever found a way to fix it? Thank you, On Wednesday, November 2, 2011 2:54:21 PM UTC-4, Craig White wrote:> > Stupid activeldap is messing with my mind ;-) > > rails (3.1.1 > activeldap (3.1.0) > rubygems-update (1.4.2) > > I have activerecord (database.yml/postgresql) and activeldap (ldap.yml) as > configured sources for my models. > > I want to add some more things to my models but activeldap is killing my > attempts to create migrations... > > cwhite@nxpc:~/tti_framework$ rails generate migration AddSettings > error active_ldap [not found] > > Last time, I manually created the migration file which I can keep on doing > but it seems that I should be able to actually generate migrations (I could > generate models but they defaulted to ActiveLdap::Base rather than > ActiveRecord::Base too and thus didn''t automagically create migrations) > > perhaps my problem stems from here... > cwhite@nxpc:~/tti_framework$ head -n 5 config/application.rb > require File.expand_path(''../boot'', __FILE__) > > require ''rails/all'' > require "active_ldap/railtie" > require ''will_paginate/data_mapper'' > > But I don''t know. Anyone know how I can clean this nuisance up? > > -- > Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ craig...-wmL3h9Ogt9DQT0dZR+AlfA@public.gmane.org<javascript:> > 1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > www.ttiassessments.com > > Need help communicating between generations at work to achieve your > desired success? Let us help! > >-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/YDEb3VmTRq8J. For more options, visit https://groups.google.com/groups/opt_out.
forgot what the exact solution was but I seem to recall that I indicated that this was a postgres migration so perhaps I added ''-d postgresql'' Craig On Jan 22, 2013, at 8:37 PM, Jean-François Rioux wrote:> I''m facing this issue too. > > Did you ever found a way to fix it? > > Thank you, > > On Wednesday, November 2, 2011 2:54:21 PM UTC-4, Craig White wrote: > Stupid activeldap is messing with my mind ;-) > rails (3.1.1 > activeldap (3.1.0) > rubygems-update (1.4.2) > > I have activerecord (database.yml/postgresql) and activeldap (ldap.yml) as configured sources for my models. > > I want to add some more things to my models but activeldap is killing my attempts to create migrations... > > cwhite@nxpc:~/tti_framework$ rails generate migration AddSettings > error active_ldap [not found] > > Last time, I manually created the migration file which I can keep on doing but it seems that I should be able to actually generate migrations (I could generate models but they defaulted to ActiveLdap::Base rather than ActiveRecord::Base too and thus didn''t automagically create migrations) > > perhaps my problem stems from here... > cwhite@nxpc:~/tti_framework$ head -n 5 config/application.rb > require File.expand_path(''../boot'', __FILE__) > > require ''rails/all'' > require "active_ldap/railtie" > require ''will_paginate/data_mapper'' > > But I don''t know. Anyone know how I can clean this nuisance up? > > -- > Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ craig...-wmL3h9Ogt9DQT0dZR+AlfA@public.gmane.org > 1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com > > Need help communicating between generations at work to achieve your desired success? Let us help! > > > > > > > > > > > > > > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/YDEb3VmTRq8J. > For more options, visit https://groups.google.com/groups/opt_out. > >-- Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ craig.white-wmL3h9Ogt9Bhl2p70BpVqQ@public.gmane.orgm 1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com Register Now! TTI Winners'' Conference 2013 January 20th - 22nd The Earlier You Register the More FREE Product You Receive Click here for more information! -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
hi
i am on Rails-3.2.11 and in my application.rb i added following and
everything seems fine.
config.app_generators.orm :active_record
ichy
2013/1/24 Craig White
<craig.white-wmL3h9Ogt9DQT0dZR+AlfA@public.gmane.org>
> forgot what the exact solution was but I seem to recall that I indicated
> that this was a postgres migration so perhaps I added ''-d
postgresql''
>
> Craig
>
> On Jan 22, 2013, at 8:37 PM, Jean-François Rioux wrote:
>
> > I''m facing this issue too.
> >
> > Did you ever found a way to fix it?
> >
> > Thank you,
> >
> > On Wednesday, November 2, 2011 2:54:21 PM UTC-4, Craig White wrote:
> > Stupid activeldap is messing with my mind ;-)
> > rails (3.1.1
> > activeldap (3.1.0)
> > rubygems-update (1.4.2)
> >
> > I have activerecord (database.yml/postgresql) and activeldap
(ldap.yml)
> as configured sources for my models.
> >
> > I want to add some more things to my models but activeldap is killing
my
> attempts to create migrations...
> >
> > cwhite@nxpc:~/tti_framework$ rails generate migration AddSettings
> > error active_ldap [not found]
> >
> > Last time, I manually created the migration file which I can keep on
> doing but it seems that I should be able to actually generate migrations (I
> could generate models but they defaulted to ActiveLdap::Base rather than
> ActiveRecord::Base too and thus didn''t automagically create
migrations)
> >
> > perhaps my problem stems from here...
> > cwhite@nxpc:~/tti_framework$ head -n 5 config/application.rb
> > require File.expand_path(''../boot'', __FILE__)
> >
> > require ''rails/all''
> > require "active_ldap/railtie"
> > require ''will_paginate/data_mapper''
> >
> > But I don''t know. Anyone know how I can clean this nuisance
up?
> >
> > --
> > Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> craig...-wmL3h9Ogt9DQT0dZR+AlfA@public.gmane.org
> > 1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> www.ttiassessments.com
> >
> > Need help communicating between generations at work to achieve your
> desired success? Let us help!
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > 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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit
> https://groups.google.com/d/msg/rubyonrails-talk/-/YDEb3VmTRq8J.
> > For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
>
> --
> Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> craig.white-wmL3h9Ogt9DQT0dZR+AlfA@public.gmane.org
> 1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> www.ttiassessments.com
>
> Register Now!
> TTI Winners'' Conference 2013
> January 20th - 22nd
> The Earlier You Register the More FREE Product You Receive
> Click here for more information!
>
>
> --
> 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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.