search for: add_users

Displaying 20 results from an estimated 65 matches for "add_users".

2006 Jul 08
2
Creating/Saving dependent objects
Folks, Am new to RoR and am building an example to get myself familiar. I am running into a simple issue while creating a user registration page. I have a User and Address models defined as below (partial/relevant code included below). User has_one address and Address belongs_to user. I have a foreign key defined in address table that refers to user(id) In a form I take in username, password,
2006 Mar 29
6
Simply Getting Post Params
I am a complete Rails newbie and am trying to understand how I can simply get the data from a password field in a form that is not mapped to a field in the database. The scenario is this. I have a User model that is mapped to a table users with the following fields: username, email_address, password and join_dt. Following pretty closely to the login section in the Agile Web Development with
2005 Dec 17
1
lost in an ActiveRecord::StatementInvalid
I have an error I don''t know how to debug. I am adding the login suport in Depot (the example in the RoR book) and LoginController#add_user throws ActiveRecord::StatementInvalid in an innocent /login/add_user GET request. The trace goes down to a call to SQLiteAdapter#table_structure, and the source code suggests what''s happening is that "PRAGMA
2006 Apr 25
2
agile depot app login failure :(
Hi *, In an attempt to go back to the drawing board and learn RoR some more - I have built the depot application from the agile book. After finishing I tried to create a user for the admin section, however when ever I go to: http://localhost:3000/login/add_user It redirects to the login action, I don''t see the [add user] submit button?? I am sure this is connected to the
1999 Apr 25
0
swat: bug located
Great job on SWAT. I'm a hard-core UNIX guy, and I like my vi and whatnot. But it's nice to see a functional web interface. It could use some more work--but great job so far! Anyway, I found a core-dump-causing-bug. I was curious as to whether or not swat limited addition of passwords to the smbpasswd file by the users that exist in the system's /etc/passwd file. I was relativly
2005 May 17
2
Noob - ActionView::Helpers::FormOptionsHelper::select
Hi, I''m just starting with Rails and i''m trying to do something like this: <%= start_form_tag :action => ''add_user'', :id => @social_event_group %> <%= select ''user'', ''id'' , User.find_all.collect {|u| [ u.login, u.id ] }%></p> <%= submit_tag "Add User" %> <%= end_form_tag %>
1999 Apr 25
0
swat core dump and debug information
(This may be a repost; but I was not subscribed to the list and looking at the current archives the articles are not showing up.) Great job on SWAT. I'm a hard-core UNIX guy, and I like my vi and whatnot. But it's nice to see a functional web interface. It could use some more work--but great job so far! Anyway, I found a core-dump-causing-bug. I was curious as to whether or not swat
2006 May 09
2
User.new doesn´t capture all of the parameters
Hi, I have a page where I can add new users to the database, but it only sees whats in the name and passord field. add_user.rhtml: <%= form_tag %> <%= form_tag :action => ''add_user'' %> <td>User name:</td> <td><%= text_field("user", "name") %></td> </tr> <tr> <td>Password:</td>
2017 May 27
3
idmap woes after upgrade
On 27 May 2017 12:45: On Sat, 27 May 2017 11:02:36 +0000 Tim ODriscoll <tim.odriscoll at lambrookschool.co.uk> wrote: > The other lines never did anything on a DC. Thank you, I've removed them now.. > Unless you manually add uidNumber attributes to users and gidNumber > attributes to groups, id mapping on a DC is done in idmap.ldb and > results in ID numbers in the 3000000
2006 Feb 17
4
Best practice for showing errors AND updating list
Morning/Afternoon/Evening All, This is my first post to the ruby message board so if my request is better suited to another location just let me know, The problem I keep coming up against is with a listing of objects and updating that list via AJAX (for arguments we are talking about a list of users). As it stands I can currently submit a form, and update the list (using :update
2008 Dec 31
7
Understand submit_tag
Hi everyone, I was following the book Agile Web Development with Rails 2Ed. by Dave Thomas. So, at some part of my studies, I decided to try to create my own application based on what I''ve learned... Now I''m in trouble in a simple form. I tried to create a form to register new users. I''m sending attached the files that I created for this. but my view don''t
2006 Jun 08
8
Routing help.... it is so difficult!
hi guys, sorry to trouble you all but i really dont understand how this routing thing work... it seems easy but it just dont work for me! here''s the situation : my url b4 : http://127.0.0.1:3001/admin/login my url after: http://127.0.0.1:3001/burninglegion/admin/login i wanna do something like this so i went to the routes.rb and type this: ActionController::Routing::Routes.draw do
2004 Mar 01
0
RE: win32etc test failure
Ok - time for me to patch and update the docs! Thanks for the testing! Dan -----Original Message----- From: Date, Shashank [Non-Employee] [mailto:Shashank.Date@mail.sprint.com] Sent: Monday, March 01, 2004 10:02 AM To: Berger, Daniel Subject: RE: win32etc test failure I like your approach better: allow me to be lazy (so I am not _forced_ to give it) but forgive me if I do ;-) It worked
2004 Mar 01
0
RE: win32etc test failure
For delete_user, try this patch: etc.c, line 639: - lpHost = (LPCWSTR)STR2CSTR(rbHost); +lpHost = AllocWideLString(rbHost); Lemme know how it goes. Dan -----Original Message----- From: win32utils-devel-bounces@rubyforge.org [mailto:win32utils-devel-bounces@rubyforge.org] On Behalf Of win32utils-devel@rubyforge.org Sent: Monday, March 01, 2004 10:02 AM To: Date, Shashank [Non-Employee] Cc:
2008 Jul 12
6
Create db row in my partial template
Hi, When I use script/generate scaffold for my db it automatically creates that page where I can select to add a new item to the database. In the controller, the create method looks like this: def create @user = User.new(params[:user]) respond_to do |format| if @user.save flash[:notice] = ''User was successfully created.'' format.html {
2004 Mar 01
0
RE: win32etc test failure
Excellent! Like I said, I really need to do some code cleanup. I''ll also be adding the config_group and config_user methods :) Dan -----Original Message----- From: Date, Shashank [Non-Employee] [mailto:Shashank.Date@mail.sprint.com] Sent: Monday, March 01, 2004 10:19 AM To: Berger, Daniel Subject: RE: [Win32utils-devel] RE: win32etc test failure That worked ! Now everything is
2006 Jul 10
7
How to obscure/encrypt password parameter?
Hi all- I am building an application that includes a login screen. During development I found that user passwords are logged by Rails in plain text -- this will not be acceptable to my users. Is there a way to obscure/encrypt incoming password parameters or not write them to the log files at all? One thought was to use Javascript, but I was not sure how secure that would be. Thanks, Josh
2010 Apr 26
2
woriking under webrick but not under passenger
Hi! I have just added login feature to my rails application (followed the instruction from (Agile Web Development with Rails) but now I am getting strange errors (looks to me like some kind of routing problem) under the passenger/apache. The error is: 500 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. From the log:
2004 Mar 01
0
RE: win32etc test failure
Yep, I agree. Well, what would you prefer? I handle it for you or you handle it yourself? I''m tempted to go with the former because, well, it''s been there for a while now. I can even use strtok to detect if ''\\\\'' is at the beginning of the string and add them only if not found. I''ll have to take a look at delete user - it worked for add_user,
2007 Mar 12
0
Undefined method: hashed_password ?
I bought the Agile book to learn Rails, and everything was going smooth until Iteration F1: Adding Users. I''ve double checked my code, used the code provided by the book, and still it returns this same error message: **** NoMethodError in LoginController#add_user undefined method `hashed_password='' for #<User:0x473f0d8> RAILS_ROOT: ./script/../config/.. Application