Re: [Rails] RSpec fails although it shouldn't

2011-11-07 Thread Gregor Panek
Am 07.11.2011 um 22:22 schrieb Dave Aronson: > On Mon, Nov 7, 2011 at 16:11, Gregor Panek wrote: > >> Am 07.11.2011 um 21:58 schrieb Dave Aronson: > >>> Don't you need to specify an id there? > >> How to do that? I just started to learn how write tests

Re: [Rails] RSpec fails although it shouldn't

2011-11-07 Thread Gregor Panek
Am 07.11.2011 um 21:58 schrieb Dave Aronson: > On Mon, Nov 7, 2011 at 15:49, Gregor Panek wrote: > >>describe "GET 'show'" do >>it "returns http success" do >>get 'show' >>

[Rails] RSpec fails although it shouldn't

2011-11-07 Thread Gregor Panek
Hi all, i wrote a Rspec test for my controller and it fails although it should pass. Here is my Rspec test: require 'spec_helper' describe UsersController do render_views describe "GET 'show'" do it "returns http success" do get 'show'

Re: [Rails] Capistrano Deploy with SVN over SSH - Network connection closed unexpectedly

2010-09-09 Thread Gregor Panek
ssh to itself, it will ask if you want to > save the public key, say yes , good luck > > On Thu, Sep 9, 2010 at 8:01 AM, Gregor Panek > wrote: > Hello all, > > i changed today from my local repository to a repository on a server. The > repository now lies on the same

[Rails] Capistrano Deploy with SVN over SSH - Network connection closed unexpectedly

2010-09-09 Thread Gregor Panek
Hello all, i changed today from my local repository to a repository on a server. The repository now lies on the same server where my application is going to be deployed. Everything went fine create my repository on the server and checked out my working copy. After some changes on the code i wan

[Rails] [RAILS] truncate only works local, after deploy it does nothing

2010-07-22 Thread Gregor Panek
Hi all, i have strange problem. On my site i have a teaser for an article. This teaser is truncated after 200 letters. On my local machine it works perfect. After i deploy my application on the serverside, nothing is truncated. So i looked into the files on the server if the truncate command is

Re: [Rails] Total number of views - ROR

2010-05-18 Thread Gregor Panek
Hi Is this not something for Google Analytics or something similar to that? > Hey > > I want to implement functionality which would let me display total > number of views for chosen pages. > > I can create a table to have user_id and page_id for example to keep > track of total views. > but is

Re: [Rails] Re: Gem are missing

2010-05-18 Thread Gregor Panek
to require the gem? Am 18.05.2010 um 09:05 schrieb Rahul Chaudhari: > Ya I did. Even gem got installed but still it give error gem is > missing and asking to run rake gems:install > > > > On May 18, 12:10 am, Gregor Panek wrote: >> Hi, >> did you also define you

Re: [Rails] Gem are missing

2010-05-17 Thread Gregor Panek
Hi, did you also define your gem in your application environment? Look into environment.rb in config dir. Then define: config.gem 'nameofgem', 'some options if needed' then rake gems:install and restart your server. Greetings Greg Am 17.05.2010 um 20:51 schrieb Rahul Chaudhari: > Hi All, > > I a