similar to: Multi language pages (access @session from a model)

Displaying 20 results from an estimated 110 matches similar to: "Multi language pages (access @session from a model)"

2005 Dec 25
2
offtopic: which one is faster: file or database?
hi, this topic is not directly about rails but I wanna hear your opinions and experience in this matter. you know apache''s access.log .. I am using lighttpd accesslog which is same as apache for some of my analysis. I copy the log into my database during my analysis for soem advanced queroies and then delete it. It''s done once a day on a non-loaded hour (5 am) so it doesnt bring
2005 Dec 15
3
site home page
Hi, I have a really dumb qustion, but I can''t find an answer in "Agile Rails" or any other hand holder. And, it is a difficult topic to search for in google. What controller/view is used for the home page of a site? I get how to create new controllers, but I don''t get at all how to change content on the home page. thanks, matt On 12/14/05, Austin Ziegler
2005 Dec 29
5
Subversion graphical client?
Hi All - I notice that most of the Rails team are using Mac OS X and TextMate for Ruby development. I too am working on Mac OS X and trying TextMate and (shudder?) EMacs. I was wondering about version control. Are folks using Subversion? If so, are they using a graphical client? Which one do they recommend? Yours, Jordan -- Posted via http://www.ruby-forum.com/.
2005 Dec 15
4
Newbie questions about Rails on Windows
My background is Windows development using Visual Studio and I''m trying to get up to speed with Ruby on Rails, so please excuse these basic questions. I''ve downloaded InstantRails and can run the sample application - so Apache, MySQL, Ruby etc. are working. Where''s the "development environment"? Where do I go to edit files, create models and controllers
2005 Dec 22
1
Really OT: terms of service and privacy statements
Hey everyone, Aplogies asking such an off topic question on this list, as I have no one else to really turn to. I plan to release a website very soon to the public. I am just one-man shop, and do not know much outside the realm of programming. I''ve taken care of the "business" aspect of things, but know nothing of the legal necessities of having a web business. Specifically,
2005 Dec 25
2
[repost] newbie questions
Hi all, I''m following the shop example in ''Agile Web Development with Rails''. I would like to extend the checkout screen, in such a way people can change the number of items they have selected in there cart. In my controller I have: def checkout @cart = find_cart @items = @cart.items if @items.empty?
2006 Jan 12
4
Domain Registration -- Private ?
The domain registration companies are pushing an add-on called ''Private Registration'' where they keep your email and other personal info secret to prevent spam. Is this a good deal? Is it needed? Do you have it? Do you wish you did? Warren -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jan 12
4
Granting SSH access to a Ruby on Rails user
I installed Rails and Rubygems on a web server for a customer who wants to install a Ruby on Rails application that he developped. He needs SSH access to interact with Ruby, so I''ll have to grant him access, but I want him to only play around in his /home directory, as this server also hosts other customers. How could I do that? Thanks, -- Posted via http://www.ruby-forum.com/.
2006 Jan 05
7
repost - Can one edit the file that generates the scaffolding.css?
I am reposting this because not only am I VERY interested in the answer but because I think it would also be useful to many, many people. We kind of have a house-style here, so it would be nice if the generated scaffold.css would accommodate that. My questions are? Is it possible? Is it safe? How? bruce
2006 Aug 02
3
controller methods for app/views/A/B.rhtml
If I want to call A/B, can I call a corresponding controller action for it? Like with app/views/A.rhtml, I can it will call the method A in the controller file. But with A/B.rhtml, I cant do def A/B. -- Posted via http://www.ruby-forum.com/.
2008 Jul 02
4
Wrapping a table row in <div> tags
Hi, Hopefully a quick example will illustrate what I''m trying to do. <table> <tr> <td>test</td> <td>test</td> </tr> <tr> <td>row 2</td> <td>row 2</td> </tr> <tr> <td>row 3</td> <td>row 3</td> </tr> </table> Using AJAX, I''d
1999 Nov 23
2
Samba not working:-(
Hello all, Samba (1.9.18 on FreeBSD 2.2.7) is giving me some headaches: This machine used to have 2 NIC's, but the machine moved and now only needs one... so I removed the correct NIC, Started the machine and changed smb.conf so it doesn't want to use 2 nic's... Started samb and... nothing... nmbd and smbd are running but I cant connect... I even don't see anybody on the network
2005 Aug 25
5
ROracle and select query empty
Hi, I just installed ROracle and RDBI. The connection to the database seems to work also. My problem is when I am selection rows that really exist in the database, it is returning nothing. Where should I look to see what could be my problem? Thank you very much, Mathieu > drv <- dbDriver("Oracle") > summary(drv, verbose=TRUE) <OraDriver:(6721)> Driver name:
2002 Mar 12
2
[Bug 160] Race condition in clientloop.c?
http://bugzilla.mindrot.org/show_bug.cgi?id=160 ------- Additional Comments From Nicolas.Williams at ubsw.com 2002-03-13 09:10 ------- Created an attachment (id=40) Debug output, lsof output, etc... ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
2002 Mar 11
1
scp completes but ssh subprocess in deadlock with sshd
I've just built openssh 3.1 for my Redhat 5.1 system (running on a 486 DX-66) using the latest zlib and openssl libraries. Connecting to the machine with ssh seems to work fine (although it takes a while to initiate a connection). But when I transfer a file to the machine with scp, it seems to work fine and the scp completes, but an ssh sub-process remains behind on the client and an sshd
2006 Aug 15
4
escaping html?
Hi I have a wysiwyg html ditor in my app. How do I escape html written to the database and encoding when I display the content> Ty Pieter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060815/d8c50941/attachment.html
2006 May 05
1
ActionMailer with attachments, body is blank
I am trying to use the Rails Recipe for sending emails with attachments. However, when I add an attachment, my body fails to render. The resulting email has the attachment, but is blank otherwise. In the book, it mentions that this is "broken" in rails 1.0 and to upgrade to a newer version or edge rails. Well, I am running on 1.1.2 and it''s still happening. When I look
2005 Aug 25
0
Irregular Time Series: zoo & its: Pros & Cons
I am the maintainer of its, but not it's original author. One of the main strengths of its is that it uses POSIXct dates. Zoo has the flexibility of using almost any date format, but I don't know if the other date formats can store hour, min, sec data. You might want to do a little exploring with each before you commit. I'll be happy to give you a hand if you decide to work with
2006 Apr 20
1
How do you run a rail app from a subdirectory?
I''ve looked everywhere and I haven''t been able to find a solution. I''m running Apache and I have an app under version control (svn). I want to be able to have multiple check-outs on one server, and I don''t have to modify httpd.conf every time I do. Basically, I envisioned that it would work like this: There''s a development server:
2003 Oct 27
0
Error : vorbis_bitrate_flushpacket
<div style='background-color:'><DIV>After downloading ogg filters in file oggds0995.exe from tobias/everwicked.com , at install we got the errormessage :</DIV> <DIV>can't find entry point of procedure vorbis_bitrate_flushpacket in dll-file vorbis.dll</DIV> <DIV> </DIV> <DIV>Does someone know what to do ?</DIV> <DIV>