[Rails] Locales

2010-08-18 Thread Jan Kadera
Hello, can sbdy please be so kind and tell me in a few words how to solve the following problem. I have just deployed an application. I generated controller home with an action show. In the view show I have the text "sample text" I want to add a language swich (better automatic recogniser) which

Re: [Rails] Re: Deep beginning

2010-07-25 Thread Jan Kadera
e .css...I think it wont be written anywhere, because in the manual to html will be information, that it is done like the first example and in .css manual will be written that it can be done like the second. Am I wrong? Jan 2010/7/24 cageface > On Jul 24, 10:18 am, Jan Kadera wrote:

Re: [Rails] Re: Deep beginning

2010-07-24 Thread Jan Kadera
It works now,thanks. So, can I ask how to join the image_tag tag with the information of align of image? Jan 2010/7/24 Jan Kadera > I tried heroku. I wasn't even able to figure out how to connect to it or do > anything with it :( > but thanks for advice with the backg

Re: [Rails] Re: Deep beginning

2010-07-24 Thread Jan Kadera
I tried heroku. I wasn't even able to figure out how to connect to it or do anything with it :( but thanks for advice with the background. Jan 2010/7/24 Hassan Schroeder > On Sat, Jul 24, 2010 at 10:18 AM, Jan Kadera > wrote: > > I meant I was unable to find ruby webhosti

Re: [Rails] Re: Deep beginning

2010-07-24 Thread Jan Kadera
a bit to get a better feel for how HTML and CSS work..." I'd say thats exactly what I'm doing last few days despite what I wanted to do... 2010/7/24 Hassan Schroeder > On Sat, Jul 24, 2010 at 10:11 AM, Jan Kadera > wrote: > > > > > > The background attrib

Re: [Rails] Re: Deep beginning

2010-07-24 Thread Jan Kadera
http://85.71.233.8:3000/images/darkKnight_wide.jpg?1229174053>" /> > which is just weird :( Jan. 2010/7/24 Hassan Schroeder > On Sat, Jul 24, 2010 at 10:06 AM, Jan Kadera > wrote: > > > And I'm bothering for many reasons...you would probably consider the mos

Re: [Rails] Re: Deep beginning

2010-07-24 Thread Jan Kadera
I'm learning it backwards, it works for me. Jan 2010/7/24 Hassan Schroeder > On Sat, Jul 24, 2010 at 9:57 AM, Jan Kadera > wrote: > > > It unfortunately doesn't work for background, or I don't know how to > throw > > it. > > What exactly does th

Re: [Rails] Re: Deep beginning

2010-07-24 Thread Jan Kadera
t and only that way exactly. And I'm bothering for many reasons...you would probably consider the most interesting one that I don't want to use web spaces with advertisment (That of course I find one useful ruby webhosting) 2010/7/24 Frederick Cheung > > > On Jul 24, 5:26 pm, Ja

Re: [Rails] Re: Deep beginning

2010-07-24 Thread Jan Kadera
I have moved all pictures in the images directory and it works now for the pictures. It unfortunately doesn't work for background, or I don't know how to throw it. And one little question...how do I align pictures inserted into web like this? I can't google it. Jan 2010/

Re: [Rails] Re: Deep beginning

2010-07-24 Thread Jan Kadera
cageface: Oh, I get it now, this awesome trick works, but you have to set you app up EXACTLY, like it is said...I don't get those 'features' but thanks. Jan 2010/7/24 Jan Kadera > To Frederick: > > "What do you mean by 'there are no relative paths

Re: [Rails] Re: Deep beginning

2010-07-24 Thread Jan Kadera
say lame, isn't it? There should be hash or something (not ruby-hash, but you probably know). Because of that I'd say that this tutorial is kind of crapy and I wanted to ask anyone if you know about any better, I'd love to read it. Regards Jan 2010/7/24 cageface > On Jul 24

Re: [Rails] Re: Deep beginning

2010-07-24 Thread Jan Kadera
s paths in rails, right? Jan 2010/7/24 Jan Kadera > In the tutorial here: > http://guides.rubyonrails.org/layouts_and_rendering.html > a have found a problem. > There is stated: "By default, the file is rendered without using the > current layout. If you want Rails to put th

Re: [Rails] Re: Deep beginning

2010-07-24 Thread Jan Kadera
e option." but where? I tried the view file and the controller file and neither doesn't work. Jan 2010/7/24 Jan Kadera > Thanks a lot :) > Jan > > > 2010/7/24 Hassan Schroeder > > On Fri, Jul 23, 2010 at 5:22 PM, Jan Kadera >> wrote: >> > Well, after

Re: [Rails] Re: Deep beginning

2010-07-23 Thread Jan Kadera
Thanks a lot :) Jan 2010/7/24 Hassan Schroeder > On Fri, Jul 23, 2010 at 5:22 PM, Jan Kadera > wrote: > > Well, after a while trying I found a way to do it right. The first time, > I > > created just controller > > > > and it didn't work (that's

Re: [Rails] Re: Deep beginning

2010-07-23 Thread Jan Kadera
BUT! What I'm trying to figure out now is addressing inside of the app. I'm trying to set up a background for the page but the relative path starting from the route of the app doesn't work and unfortunately the absolute path doesn't work either. So where is the root of the relative

Re: [Rails] Re: Deep beginning

2010-07-23 Thread Jan Kadera
h it :( Jan 2010/7/24 Jan Kadera > "You use routing to match URLs to the content you want to serve." > Are you telling me, that the default routing setting do not work like this: > my ip: 1.2.3.4 > my port: 3000 > controller name: c > action name: a > this implie

Re: [Rails] Re: Deep beginning

2010-07-23 Thread Jan Kadera
se I believe it work like that which means, when I start to change it, I'll mess the whole app up. Jan. 2010/7/21 Hassan Schroeder > On Tue, Jul 20, 2010 at 3:21 PM, Jan Kadera > wrote: > > > Isn't there any more peaceful way to do it without declaring war to half >

Re: [Rails] Re: Deep beginning

2010-07-20 Thread Jan Kadera
Rolldance (rolldance is from some kind of turorial) home have bunch of actions, but there is view only for action wow rolldance have actions both with views index and o_nas What I'm trying to do is simply access those pages and I'm totally unsuccessful :( Jan Kadera 2010/7/21 theredd

[Rails] Deep beginning

2010-07-20 Thread Jan Kadera
Hey guys, it'll be kinda silly question, but I was working for two years on my bachelor's thesis using RoR...but I have never found out, how to do that when I type in the browser the address and port, there will be a homepage shown...is there some easy way? Thanks in advance Jan Kader

[Rails] openssl

2010-04-09 Thread Jan Kadera
ssing - tels me the instalator. Any ideas how to tell to ruby / rails that I actually have openssl installed? regards Jan Kadera -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email t

[Rails] Heroku

2009-09-26 Thread Jan Kadera
Hi, have anyone some experience with Heroku? I have an account there, but I'm unable to tell git to work with it. Can some of you help me please? Regards Jan Kadera --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[Rails] Pages aren't loading

2009-09-17 Thread Jan Kadera
Hello, I have a problem with this situation. When I type in address of the web, the title page loads, but when I click a link, nothing'll happen. The thing is, that when I reload the page(by F5), the page don't reload...it loads the page under the previosly clicked link. Have you ever experienced