similar to: Getting a user from a model (sort of a noob)

Displaying 20 results from an estimated 10000 matches similar to: "Getting a user from a model (sort of a noob)"

2006 Jan 10
3
Getting a user from a model (sort of a noob) (resend sorry)
Sorry for the resend but I am not sure if the first one ever made the list. As mentioned in my previous posts I''m trying to create a dynamic directory for file_folumn. After finding out that I didn''t have the most recent version I installed the latest trunk and am able to get file_column to act as it should. However I have been racking my brain on how to implement
2006 Jan 09
7
File_column Dynamic directory
I asked this question earlier and did recieve an answer but I am not sure Ifully understood the answer as I am getting all sorts of errors when trying to implement. Basically I want to add a layer to the path for my files. I have the following set up in my model class: file_column :image, :store_dir => :dynamic_dir def dynamic_dir
2006 Apr 24
0
Called id for nil, which would mistakenly be 4 -- if you really wanted the idof nil, use object_id - solved
Hi Bill, No I am not using Instant Rails. >There are lots of variations possible. Typos and capitalisation represent the largest proportion of errors I personally have made. Thanks a lot....solved the problem. Changed recipes (plural) in controller file to recipe (singular). That teaches me to pay *real* attention to casing. (forgive me, I am from the VS and VB world :-) >Actually,
2015 Dec 15
2
PJSIP configuration question
Thank you Joshua. I tried setting the from_domain for the endpoint, but it still sends the internal ip address for the INVITE's From field [acl1] type = acl deny = 0.0.0.0/0.0.0.0 permit = variousaddress permit = bluipaddress [transport1] type = transport bind = 0.0.0.0 protocol = udp [BLUIPIN] type = aor remove_existing = yes contact = sip:bluipaddress [auth7] type = auth username =
2016 May 06
0
Samba4 AD DNS -- AD Subdomain vs Clients accessing on different subdomain
On 05/05/16 21:46, Thomas Maerz wrote: > Hello, > > We have an issue we’ve been struggling with for quite some time since we rolled out 10 Samba4 domain controllers at our main office and all remote sites about 3 years ago. > > Simplified Current Configuration: > > 2 DCs at main site with internal DNS using subdomain ad.companyname.com > 2 BIND CentOS servers serving all
2006 Apr 11
15
Migrating rails 1.0 app to 1.1 - Noob question
Hi all, I''ve upgraded my system to Rails 1.1.1 successfully. After much looking I haven''t found out how to migrate an existing application to a new rails version though. What is the procedure, if any, for upgrading the application I''ve developed in 1.0? Is there a script I need to run? -- Posted via http://www.ruby-forum.com/.
2004 Aug 31
2
limit the length of extensions
How do I limit the length of an extension? In my test IVR/Automated Attendant (whatever it's called), at the beginning it plays "if you know your parties 3 digit extension, you may enter it now) and then it gives a list of options. If the caller puts the 3 digit extension, it goes through fine, if they press 1, or 2 it goes to the selected menu option, but if they dial 91235551212 it
2016 May 06
0
Samba4 AD DNS -- AD Subdomain vs Clients accessing on different subdomain
On 06/05/16 13:01, mathias dufresne wrote: > 2016-05-06 9:39 GMT+02:00 Rowland penny <rpenny at samba.org>: > >> On 05/05/16 21:46, Thomas Maerz wrote: >> >>> Hello, >>> >>> We have an issue we’ve been struggling with for quite some time since we >>> rolled out 10 Samba4 domain controllers at our main office and all remote >>>
2020 Oct 11
0
userou= question
On 11/10/2020 13:59, Robert Wooden wrote: > Yes, thank you for the guidance. > > Regarding "/You do not put the users password here (if that is what > you are trying to do): --password=PASSWORD1/" > > My experience has been this, no matter where I put "--password=" in > the string, after the "user" as the manpage suggests or the end. When >
2016 May 05
2
Samba4 AD DNS -- AD Subdomain vs Clients accessing on different subdomain
Hello, We have an issue we’ve been struggling with for quite some time since we rolled out 10 Samba4 domain controllers at our main office and all remote sites about 3 years ago. Simplified Current Configuration: 2 DCs at main site with internal DNS using subdomain ad.companyname.com 2 BIND CentOS servers serving all intranet DNS requests — main zone: companyname.com 2 BIND CentOS servers
2006 Apr 21
3
Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
Hi I am a newbie to Ruby on Rails, but experienced in programming. I am trying out Rolling with Ruby on Rails article by Curt Hibbs on onlamp.com. I have encountered following error: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id I searched the archives of the list and found that similar question was left unanswered. I do understand from
2016 May 06
1
Samba4 AD DNS -- AD Subdomain vs Clients accessing on different subdomain
> Clients are not being pointed correctly, clients joined to the domain should be pointed at the DCs first, anything they do not know, they ask their forwarders. Although I agree that what you’re suggesting is a sane configuration, there are other ways to do it and I have tried it both ways. As I’ve explained in my first post, curgently all clients are pointed at BIND servers which forward all
2006 Apr 04
3
How to use in_place_editor_field ?
Hello, I really don''t understand how to use in_place_editor_field In my controller : class Admin::CategoriesController < Admin::BaseController in_place_edit_for :category, :title def list @categories = Category.find_all end end In the view list.rhtml <% @categories.each do |c| %> <td><%= in_place_editor_field :c, c.title %></td> # snip <%
2006 Jul 26
2
sessions
hi! im implementing a login system for a messageboard. tooked from a book. pretty simple. everythings works great, but in the example the idea is, when i want to create a new message, the author name shall be tooked from the session[:user] def create params[:message][:date] = Time.now params[:message][:author_id] = @session[:user].id #here!! @message =
2006 Mar 28
2
In_place_editor_field throws error ...
I receive the following error: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id when trying to use the in_place_editor_field tag: <% for employee in @employees %> <%= in_place_editor_field :employee, employee.fname %> <% end %> My model is called Employee and is being populated from a controller method employees_list:
2004 Sep 20
2
Voicemail Directory
Hi All- I am running into a small problem trying to implement voicemail Directory(). I'm sure it is a simple thing, but I can't figure out where the problem lies. I can get into the directory without a problem and can look up users by their last names, however I hit a snag when asterisk says "if this is the person you are looking for press 1 now". When I hit 1, the attendant
2016 May 06
3
Samba4 AD DNS -- AD Subdomain vs Clients accessing on different subdomain
2016-05-06 9:39 GMT+02:00 Rowland penny <rpenny at samba.org>: > On 05/05/16 21:46, Thomas Maerz wrote: > >> Hello, >> >> We have an issue we’ve been struggling with for quite some time since we >> rolled out 10 Samba4 domain controllers at our main office and all remote >> sites about 3 years ago. >> >> Simplified Current Configuration:
2010 Aug 29
4
Wrong class being returned in association
I''m using Rails 3.0.0rc and have the following models: class User  has_many :readings  has_many :conversations, :through=>:readings end class Reading  belongs_to :user  belongs_to :conversation end class Conversation  has_many :readings  has_many :users, :through=>:readings end and this controller code: class ConversationsController  def show    @user =
2015 Dec 15
2
PJSIP configuration question
I am trying to configure a connection to BluIP. I am able to make incoming calls work. However outgoing calls are not working. For the Outbound Registration, I noticed the contact field is always the internal IP address of my pc instead of mycompany dot com I can Originate (using AMI) to my Vitelity trunk (IP based authentication). However, when I Originate to my BluIP, it is being rejected.
2020 Oct 11
2
userou= question
Yes, thank you for the guidance. Regarding "*You do not put the users password here (if that is what you are trying to do): --password=PASSWORD1*" My experience has been this, no matter where I put "--password=" in the string, after the "user" as the manpage suggests or the end. When I run the create string I am asked for a "New Password:' and then