similar to: Logging in production

Displaying 20 results from an estimated 50000 matches similar to: "Logging in production"

2006 Mar 29
13
Rails on Mongrel
Hi, After following advice from you good folks, I gave mongrel a try in a cluster design based on the example on the Mongrel website - and it worked right out of the box which is great - and it''s very fast :) I have got a bit stuck though. I have two MS Word files in /public/files/. I can pull back these files no problem but it isn''t sending a mimetype. I think I have two
2006 Apr 12
1
URL Paths
Hi, I''m looking to rewrite an existing app in Ruby but it makes extensive use of URL paths. For example a site would redirect to : /Portal/foo/ and from this I could tell that ''foo'' was the site that did the redirect. Of course when I try this with Ruby I get "method not found" which is hardly surprising. I''ve had a quick look round google but
2006 Mar 21
11
Stuck on ActiveRecord
Hi, I''m having great fun developing with Rails but I''ve come to a problem that I can''t quite figure out. I have an Order object that "has_many" order_lines. This works perfectly and I can see all the lines. The OrderLine object has an order_id field as well as product_id and amount. Now ideally I would want to do : order.orderline[0].product.name for
2003 Jan 07
5
Usernames with dots
Now that I have winbind working, life is good. However, I've hit upon a real kick in the pants. As you can see from my email address, we have a convention here of usernames being firstname.lastname. So, when I go to change the owner ship of a file: $ chown chris.palmer myfile Linux thinks I mean user chris, group palmer, and says "invalid group" (there is no palmer group,
2006 Jun 25
2
Working out sales tax...
Hi, Having googled extensively about storing money in Rails, it seems to be accepted that the best way is to store the prices etc in the smallest part of the currency so that you can use an integer i.e ?20 would be stored as 2000 pence. This is fine and I''ve made a nice pretty wrapper that outputs the price in the standard form for invoicing and what not - but here I''ve
2006 Mar 28
6
Deploying rails...
Hi, I thought I''d give lighttpd and FastCGI a go but the latest version I''ve found for fastcgi is 2.4.0 which was released in January 2003. Is this the right version? Can anyone recommend the versions I should use for FastCGI et al and where to find them? I''m not sure I''ve really found what I''m looking for... -- Posted via
2006 Apr 17
1
SOAP and exceptions
Hi, I''ve been doing more searching, and I''m kinda stuck on how to send back error messages to a SOAP / XML-RPC client if say for example the username and password they supplied were incorrect. Can anyone point me in the right direction? Cheers, Pete -- Posted via http://www.ruby-forum.com/.
2006 Apr 06
3
RoR and Threads...
Hi, Anyone who has seen my posts so far will know straight away that I''m new to Ruby. The kind help and advice I''ve received here has been invaluable to me and is greatly appreciated! I wish all programming communities were this friendly! :) Anyway, on to the question... I started off on PHP which didn''t require any real multi-threading techniques - at least for
2006 Mar 12
3
Displaying a Tree
Hi, Just a request for comments and ideas really. I need to display a Tree so that users can easily navigate to and from the various branches. I''m not really sure how best to do this, so I thought I''d ask here in case anyone had any ideas... Thanks in advance! -- Posted via http://www.ruby-forum.com/.
2008 Mar 03
15
update_attributes not updating
For some strange reason I can''t get update_attributes to work. Any reason why that might be? here is my code: controller: def update @user = User.find(params[:id]) respond_to do |format| if @user.update_attributes(params[:user]) flash[:notice] = ''Your Information was successfully updated.'' format.html { redirect_to(user_url(@user))
2006 Mar 23
3
Returning CSV data to the client
Hi, One of my apps has to export data for the backend system to process it. What''s the best way to create a CSV file in Rails and then return it as a file to the client? i.e when they go to the link /csv/get_data it would return a csv file. I''ve been messing with the CSV library and I can get it to write out to a file, but not sure how to best use this in a web app. Hope
2006 Jun 06
14
How can I set the session in a functional test?
Hey :) I need to simulate a login in my functional test, otherwise I can''t GET nor POST to the action. I need to set the session key "logged_in_user_id". I tried this inside the setup() method: session[''logged_in_user_id''] = 1 But that throws: TypeError: can''t convert String into Integer Any ideas? Thanks, Rob -------------- next part
2006 Jan 21
4
Single quotes in parameters
I have a "search" action for my "projects" controller, which defines a set of projects as follows @projects = Project.find(:all, :include => [:user,:clients], :conditions => "name like ''%" + params[:query] + "%''",:order => ''number'') This works fine, until I type an entry into my search box that has a single
2019 Nov 15
5
Can't log in to Phabricator with my @google.com account
See screenshot. :) Is this supposed to work, or should I use a different, non- at google.com account? Thanks for any clues. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191115/e8f5e795/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name:
2003 Jan 08
5
Default domain for winbindd?
Hello once again, I've got winbind doing authentication not just for the samba service but also sshd and login. It's great. However, I have to give a fully-qualified username (e.g. "GENEEDINC+chris.palmer") as the username when logging in via these methods. I wondered, Is there any way to get winbindd to insert the domain and the separator for the user, when none is provided? I
2006 Sep 05
3
Testing vs Production manifests
So, the usual problem -- we want to be able to test our manifests before putting them into full-scale no-holds-barred oh-shit-we-broke-teh-intarweb production. The two possible solutions I''ve considered so far are: 1) Set a tag on objects we only want to be run on our test machines, and run Puppet on the test machines with "please run objects tagged ''test''".
2006 Mar 21
1
Form Validation
Hi, I''ve got an interesting one here :) I have a form with three fields : serial_number initial surname now, if serial_number is entered, it must be between 1 and 64000. If it''s filled in, the other two fields must be blank. If serial_number is left blank then the other two boxes must be filled. Any suggestions? -- Posted via http://www.ruby-forum.com/.
2008 Jan 16
5
named route new_session not working
Anyone have any idea why a named route would NOT work? I did rake routes to make sure it was there and it was but for some reason new_session doesn''t work. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group,
2008 Feb 21
7
looping through a list
what is the proper way to loop through a list in a rails view (assuming that you need to check if it is empty or not) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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
2006 Apr 17
5
XML-RPC Webservice API
Hi, After following the excellent tutorials in the Agile Web Development with Rails book, I was able to get my webservice working pretty much perfectly :) I can access it via SOAP and XML-RPC and look at service.wsdl to find the API. What I can''t do however is get the API for the XML-RPC call. It fails with : Internal protocol error: NilClass is not a valid input stream. It must