similar to: uninitialized constant - Please Help Me...

Displaying 20 results from an estimated 1000 matches similar to: "uninitialized constant - Please Help Me..."

2013 Oct 08
5
user management define once an add if required on server
Dear all I am looking for a solution for a module to define alle possible user and then install the one or more user from that module if needed on a server, but not all of them. My idea is something like this. Can I define a user in the nodes.pp at a special Server to install that user? init.pp class admin_user::group { group { "group1": gid => "888",
2010 Jan 18
2
Samba/winbind with Active Directory auth
Hi List, I'm installing a Samba server with the intended purpose of serving files to Windows users with seamless authentication on the smb server. For that, I've been reading and following every single google search result regarding the subject, but it seems I'm stuck at some point where other people are not blocked ... To summarize, I have these commands OK: # kinit admin_user at
2007 Oct 26
1
Spec custom finders
I have some finders in my models where I write some of the sql myself. I of course want to test these, but am not sure the best way. Should I just let them roll through to the db, and verify they return the correct objects based on the fixtures I load, or should I spec the actual query? I know that DB access is sort of frowned upon, but is this a situation where it is more or less acceptable? My
2006 Jun 30
4
More idiomatic way of writing a filter
Is there a more elegant way of writing this? def verify_user @user = User.find_by_username params[:username] if @user.nil? message = xml.error do |xm| xm.message "User does not exists: #{params[:username]}" end render :xml => message return false else true end end Thanks, Joel --
2010 Sep 25
3
Factory_girl association with specific values
Hope this should be simple: I have a User model and a Role model. Factories for each. When I create a User using FG, I want to assign a specific role. Cant seem to figure out how to do this, getting errors like: uninitialized constant SysadminRole for doing things this way: Factory.define :user do |u| u.practice_id { |a| a.association(:practice).id } u.password ''password1''
2006 Jul 05
1
Routing via function
I have a route that depends on a username being passed in the URL, such as: map.connect '':username'', :controller => ''user'', :action => ''show'' Is there a way to perform a lookup of the username before matching on this route? I am hoping to be able to do something like this (completely made up): :requirements => {:username =>
2009 Dec 29
15
help needed - undefined method `reenable' for <Rake::Task db:schema:dump => [environment]>:Rake::Task
Hello, I am trying to deploy my app at the moment, and each time I do, I get the following error when i run a trace on it: rake db:migrate --trace (in /srv/some area/someplaceelse...) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate ** Invoke db:schema:dump (first_time) ** Invoke environment ** Execute db:schema:dump rake
2007 Apr 26
1
Joining Samba 3.24 to 2003 ADS
I'm hoping someone can give me a clue what I am doing wrong here, Running Debian Etch AMD64, I followed the samba wiki at: http://wiki.samba.org/index.php/Samba_ <http://wiki.samba.org/index.php/Samba_&_Active_Directory#Prerequisites> &_Active_Directory#Prerequisites. I get mostly good results, except when I try to run 'getent passwd' or 'getent group' only
2009 Nov 02
7
*** Quick help with paperclip ***
Hi All, Someone reccomended using paperclip as a way to easily upload photos. Basically I want a quick and easy solution to allow users to add a profile picture. Anyway - I have followed the tutorial on here: http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails/ I can add a file, but there isnt anywhere to upload it. I have followed the above tutorial word for word, but i dont
2009 Dec 24
12
no such file to load -- ferret
Hi there, I''m just trying to deploy my app to my vhost, and i''m getting an error on the phusion passenger page: no such file to load -- ferret now everything worked fine in development. DO i need to reinstall the plugin and gem again? if so - would these be in domain.com/public? or should it be installed at domain.com? ANy advice would be great! THank you. -- You received
2010 Jan 03
9
ferret search in production
Hi there, after recently deploying my app, I have noticed that the search results are not being displayed... When I look in my app, I also notice that the apps content (search criterea) is not being indexed, so I dont have an index folder being created. I read on a google post that it may be that the ferret.yml server isn''t started (or perhaps the content of this file are not right) I
2003 May 02
1
Admin issues the Xth..
Hi there. I just switched from icecast1 to icecast2. Right now I'm not sure if that was a very good idea. I do like the ogg-support, but I lack a good amount of documentation (Hey, I'd be glad to help you out, but how can there be consistent documentation for a software that is only available through cvs(-snapshots)?) and good linux source clients. I used xmms-liveice or muse before, but
2006 Nov 09
2
help with join tables and has_and_belongs_to_many
Hi, I have a user model and a privilege model. They have the has_and_belongs_to_many relationship. Here are the model defs: class User < ActiveRecord::Base belongs_to :status has_and_belongs_to_many :privileges end class Privilege < ActiveRecord::Base has_and_belongs_to_many :users end Now I have a migration script to create the join table and populate a few users with some
2001 Oct 16
2
win95-98 problems
I've installed samba in my linux machine (Mandrake 7.2). With WinNT and Win2000 there is no problems, but in Win95 and Win98 It's impossible to read files, and open exixting folders, the error is: "the file (folder) don't exist". If I try to create one, It'isn't shown, there is an error, but if I go in machine with win2000 the folder(file) is there. How can I resolve
2010 Nov 09
6
Upgrading to snow leopard
Hi All, I''m currently mid-project at the moment, and am scepticle in upgrading to Snow Leopard. If I do, will it affect my current Ruby on Rails set up on my machine?? Cheers -- 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
2004 May 05
0
ADS join failing?
Hello all, I'm not too sure we're having an ADS issue or not. Perhaps someone could shed some light on this for us? Here's what we're seeing during a net join: 14:32 myhost<42> sudo ./net join -S domaincontroller -U admin_user Admin_user password: [2004/05/05 14:33:39, 0] libads/ldap.c:ads_add_machine_acct(1006) Host account for myhost already exists - modifying old
2011 Nov 09
4
Starting out with puppet and capistrano
Hey guys. I am starting out with puppet and am in the process of writing a bootstrap script for the clients and a capistrano recipe for the server. I have the client bootstrap done which installs ruby, puppet, sets a host name, and then points the client at the puppet server and now I am in the process of setting up the puppet server. My first attempt was to set up a git project for puppet, an
2009 Sep 03
5
Rails 3.o
So... "Beginning Rails 3" is supposedly due Sept 2009 http://www.apress.com/book/view/9781430224334 "Rails 3 in Action" is due February 2010 (est.) http://www.manning.com/katz/ ... can we assume a beta release of Rails 3 is very close? Would like to invest in Rails 3 :)
2009 Dec 07
3
captcha
Hi all, I want to implement a captcha on my register page to help weed out any ''non-human'' visitors. I was told to check out http://expressica.com/simple_captcha/ but the site isnt responding. Does anyone have any other reccomendations that are tried and tested & successful? Many Thanks -- You received this message because you are subscribed to the Google Groups
2013 Jul 13
10
username/password combo for custom provider (couchbase)
Hi, I''m trying to program custom type for managing Couchbase buckets. Problem is that every RW operation to Couchbase cluster (creating, deleting, resizing bucket) requires admin privileges (username/password). Do you have any suggestion how should I pass the username/password to provider? If I make it a param, then every resource of type ''couchbucket'' will need to