similar to: css

Displaying 20 results from an estimated 30000 matches similar to: "css"

2006 Apr 20
8
2 layouts per .rb page
Hi, Is this possible ive got layout "loggedout_layout", :only => [:login, :logout] but I also want to do somthing like layout "loggedin_layout", :except => [:login, :logout] When the second one is introduced it seems to cancel out the first request, any suggestions how to get around this? Scott -- Posted via http://www.ruby-forum.com/.
2006 Jul 13
8
Acts As Authenticated - smarter login box
Hi, I''ve got AAA loaded and working. I now want to put a smarter login form on the sidebar of my site. If the user is not logged in, I''d like to display a typical form in the sidebar that collects the user ID/password and allows the user to login. If the user is logged in, the box should display something like ''Logged in user: FirstName Lastname'' and a
2006 Sep 04
4
Fields
Sorry for asking so many questions recently. Just wondered. I originally had acts_as_ferret in my model and I performed a few searches. I then decided to change this line to acts_as_ferret :fields => [ ?name? ] However when I perform searches it is still listing results with queries contained in fields other than the ''name'' field. How do i fix this? -- Posted via
2006 Aug 23
8
acts_as_ferret with Mongrel and Edge Rails
Hi there, Has anyone tried acts_as_ferret with Edge Rails and Mongrel? When I install the plugin to a project that has Edge Rails frozen, and the Mongrel gem installed, I can''t start the server. There''s no error, it just doesn''t start. I''ve used acts_as_ferret in the past with WEBrick, and stable Rails releases without a hitch. If I remove the
2006 May 28
3
Experience with RSpec
Anyone with experience with RSpec care to share? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060528/29c9ba64/attachment.html
2005 Oct 05
3
Shopping Cart: SKU and Product Confusion
Hi there, I''m at a loss... I was on the #ROR channel last night and spoke to a really helpful person (Defiler) who gave me some direction on building a shopping cart. Unfortunately, I wasn''t able to successfully get to where I need to go. This is the predicament I am currently finding myself in: I''m building a shopping cart for a client''s new website. They
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
2006 Jun 20
2
website hosting
Hi, im looking for a shared web host account that will support rails (php 5 would also be a bonus) Has any one got any recommendations? thanks scott -- Posted via http://www.ruby-forum.com/.
2008 May 06
3
expires header for .css
I''m using mongrel as my http server. I was using yslow to evaluate the performance of my web site and noticed I was downloading the .css file on every request??? I use one .css file for the whole site and I though I would be cached? Yslow indicates that there is no expires date/time set for the css file. How can I tell mongrel to send an expires header with my static content? thanks,
2006 Jun 29
3
String: first character upcase?
Hi all Is there a function that makes the first character of a given string upcase? first_to_upper "canada" Thanks for help. :-) Joshua -- Posted via http://www.ruby-forum.com/.
2006 Apr 05
10
RoR with CSS on Firefox?
Does anybody have any experience getting CSS working with RoR on Firefox? I need help!!! I''m trying to move to the <div> model from the <table> model so I can use AJAX. The move to <div>s requires I also start using CSS for layout, etc. So here''s the problem I''m having. Firefox will not use the styles I''ve defined for the <div>s.
2008 Aug 20
9
I want RSpec for CSS layout.
I don''t even know how it''d be possible (through Selenium?), but I want it. I want to see if my stupid CSS hacks break. I want to say: describe "#nav-column" do body = something("#body-column") it "should line up at the top" do dom[:top].should_be == body.dom[:top] end it "should always be to the right" do
2004 Nov 09
1
3.0.8 and looong logout time
I've got two WinXP SP2 users. Roaming profiles. One of them takes about 25 seconds to log out unless she has made pretty drastic changes to her profile (My Documents, etc). My second user takes upwards of 3 minutes to log out, even if he has just logged in, not opened a thing or made changes, and then logged back out. Below is part of a strace as I don't know what I'm looking
2006 May 02
2
flash not shown
I am using the following code (inspired by one of the books) to check if the user''s session should have timed out. # Check to see if the user has been inactive for longer than the # expiry period. If they have, reset the session. def check_timeout if session[:expires_at] != nil @time_left = (session[:expires_at] - Time.now).to_i unless @time_left > 0
2006 Apr 19
3
ror css
Hi pretty new to this ROR stuff, ive just created my first simple plication using scaffold, was just wondering if anyone knows of any good tutorials on how to screate custom css stylesheets for these pages. also whats the best way to go about adding a footer / header html images to all pages Thanks scott -- Posted via http://www.ruby-forum.com/.
2001 Oct 22
1
Browsing problem on the Windows Side
Hi fellow Samba Users, I've recently added a RedHat/Samba box to a Windows network and got an unpleasant surprise. Windows machines that logout and then log back in are unable to browse AND unable to map drives. The machines that were logged in before Samba booted continue to work fine. We've repeated the experience a couple times to make sure we understood the symptoms. I'll
2006 Jul 14
2
RESTful thinking - Need some guidance.
This is my first time working with REST and XML. My goal is to access Google''s geocoding service using HTTP. Here''s the code I have so far: require ''open-uri'' require ''rexml/document'' include REXML url=''http://maps.google.com/maps/geo?'' address = ''q=1600 Amphitheatre Parkway Mountin View,CA'' address1 =
2005 Dec 20
12
How to model "Expense Report" in Rails MVC
1st: I am a newbie to Rails & to pure OO. Q: I want to use rails for creating a "master-detail" form. page layout will allow users to type in an "expense report header" and as many "expense report lines" as they need to. I understand how to wrap the final submit action using "transaction" to ensure the inserts to the database happen within the same
2007 Aug 28
1
NIS probs - Login and no home dir -help
I'm trying to configure two things on my RH 5 server with dual-boot CentOS 5 (out-of-box) and Windows XP w/SP2 (fully patched) clients: - NIS/NFS: I have managed to get user logins, but all accounts produce Can't Find Home Directory, Using Root! The error logs, when trying to mount any NFS directory, is the server claims permission denied. I've reviewed many web pages and
2003 Mar 06
1
OSX & Authentication
Hi, Taking a stab at getting OSX Server 10.2.4 running Dovecot -- with a minor tweak of replacing lchown() with chown() in the src/lib/sakfe-mkdir.c, it compiled and installed without any problems. However, oddness in authentication. It works once, but only once. I'm trying to use pam and have the following: auth required pam_securityserver.so auth sufficient