Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Active Scaffold --- Help Urgent
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  12 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Antony Nambikkai  
View profile   Translate to Translated (View Original)
 More options 7 Nov, 09:45
From: Antony Nambikkai <rails-mailing-l...@andreas-s.net>
Date: Sat, 7 Nov 2009 10:45:59 +0100
Local: Sat 7 Nov 2009 09:45
Subject: Active Scaffold --- Help Urgent
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connect ion_a
dapters/abstract/connection_specification.rb:76:in
`establish_connection': Pleas
e install the postgres adapter: `gem install
activerecord-postgres-adapter` (no
such file to load -- active_record/connection_adapters/postgres_adapter)
(Runtim
eError)
        from
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record
/connection_adapters/abstract/connection_specification.rb:60:in
`establish_conne
ction'

I am Getting the above error while executing the below command.

>ruby script/generate cs_active_scaffold

Plzz Help he soon ....

Bz this is my first task in this project...

Thanks in advance,
Antony Prabhu
--
Posted via http://www.ruby-forum.com/.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Leonardo Mateo  
View profile   Translate to Translated (View Original)
 More options 7 Nov, 09:53
From: Leonardo Mateo <leonardoma...@gmail.com>
Date: Sat, 7 Nov 2009 06:53:33 -0300
Local: Sat 7 Nov 2009 09:53
Subject: Re: [Rails] Active Scaffold --- Help Urgent
On Sat, Nov 7, 2009 at 6:45 AM, Antony Nambikkai

Have you read the error? The error itself is telling you what's wrong
and how to fix it.
Install the Postgres adapter.

--
Leonardo Mateo.
There's no place like ~


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Antony Nambikkai  
View profile   Translate to Translated (View Original)
 More options 7 Nov, 09:57
From: Antony Nambikkai <rails-mailing-l...@andreas-s.net>
Date: Sat, 7 Nov 2009 10:57:51 +0100
Local: Sat 7 Nov 2009 09:57
Subject: Re: Active Scaffold --- Help Urgent

Leonardo Mateo wrote:

But Leonardo there is no Gem a Postgre Adapter ....

I checked that already ......

Kindly help me ...

also in database.yml file I change the the adapter name from postgresql
to postgre.... This was suggested in a web page .....

Thanks in advance,
Antony Prabhu N

--
Posted via http://www.ruby-forum.com/.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Leonardo Mateo  
View profile   Translate to Translated (View Original)
 More options 7 Nov, 10:07
From: Leonardo Mateo <leonardoma...@gmail.com>
Date: Sat, 7 Nov 2009 07:07:24 -0300
Local: Sat 7 Nov 2009 10:07
Subject: Re: [Rails] Re: Active Scaffold --- Help Urgent
On Sat, Nov 7, 2009 at 6:57 AM, Antony Nambikkai
<rails-mailing-l...@andreas-s.net> wrote:

> Leonardo Mateo wrote:

> But Leonardo there is no Gem a Postgre Adapter ....

> I checked that already ......

> Kindly help me ...

> also in database.yml file I change the the adapter name from postgresql
> to postgre.... This was suggested in a web page .....

OK, it's been a few months since I left my postgres project, so it
might have change now since the recently wave of moving to gemcutter
hosted gems, but you should search for your postgres adapter, the one
I was using was called just 'postgres'.
So you should install:
gem install postgres
And your config/database.yml should say:
adapter: postgresql

That's the way it was working for me and I think it should still work.

--
Leonardo Mateo.
There's no place like ~


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Antony Nambikkai  
View profile   Translate to Translated (View Original)
 More options 7 Nov, 10:24
From: Antony Nambikkai <rails-mailing-l...@andreas-s.net>
Date: Sat, 7 Nov 2009 11:24:14 +0100
Local: Sat 7 Nov 2009 10:24
Subject: Re: Active Scaffold --- Help Urgent
Leonardo Mateo wrote:

Ok Leanardo i will try this and get back to you .....
--
Posted via http://www.ruby-forum.com/.

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sunny  
View profile   Translate to Translated (View Original)
 More options 8 Nov, 12:38
From: Sunny <s...@sunny.in.th>
Date: Sun, 8 Nov 2009 04:38:06 -0800 (PST)
Local: Sun 8 Nov 2009 12:38
Subject: Re: Active Scaffold --- Help Urgent
I usually use ruby-pq to connect to Postgres so in case 'postgres'
doesn't work you might try gem install ruby-pq

On Nov 7, 5:24 pm, Antony Nambikkai <rails-mailing-l...@andreas-s.net>
wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rick  
View profile   Translate to Translated (View Original)
 More options 8 Nov, 16:03
From: Rick <richard.t.ll...@gmail.com>
Date: Sun, 8 Nov 2009 08:03:32 -0800 (PST)
Local: Sun 8 Nov 2009 16:03
Subject: Re: Active Scaffold --- Help Urgent
actually what you want is "pg"

gem list pg => pg (0.8.0)

On Nov 8, 7:38 am, Sunny <s...@sunny.in.th> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marnen Laibow-Koser  
View profile   Translate to Translated (View Original)
 More options 8 Nov, 17:09
From: Marnen Laibow-Koser <rails-mailing-l...@andreas-s.net>
Date: Sun, 8 Nov 2009 18:09:01 +0100
Local: Sun 8 Nov 2009 17:09
Subject: Re: Active Scaffold --- Help Urgent

Rick Lloyd wrote:
> actually what you want is "pg"

> gem list pg => pg (0.8.0)

Either pg or postgres will work.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
--
Posted via http://www.ruby-forum.com/.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Antony Prabhu  
View profile   Translate to Translated (View Original)
 More options 9 Nov, 06:36
From: Antony Prabhu <prabhu.r...@gmail.com>
Date: Sun, 8 Nov 2009 22:36:56 -0800 (PST)
Local: Mon 9 Nov 2009 06:36
Subject: Re: Active Scaffold --- Help Urgent
Thanks for you all.....

The Issue solved by Installing the gem

gem install postgres -pr

also if you are using rails version > 2.0

you need to add the following method in rails application

goto \config\initializers

in new_rails_defaults.rb

add the method

def PGconn.quote_ident(name)
    %("#{name}")
end

Now the Active Scaffold works fine ......

Thanks friends.......

Actually I am trying to remove the database Connection and Read the
data from the file and write a data to the same file thro active
scaffold ....

Kindly provide you valuable Ideas.....

- Antony Nambikkai


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marnen Laibow-Koser  
View profile   Translate to Translated (View Original)
 More options 9 Nov, 11:56
From: Marnen Laibow-Koser <rails-mailing-l...@andreas-s.net>
Date: Mon, 9 Nov 2009 12:56:56 +0100
Local: Mon 9 Nov 2009 11:56
Subject: Re: Active Scaffold --- Help Urgent

That should not be necessary.  Try the postgres gem, not postgres-pr.

> Now the Active Scaffold works fine ......

> Thanks friends.......

> Actually I am trying to remove the database Connection and Read the
> data from the file and write a data to the same file thro active
> scaffold ....

What?

> Kindly provide you valuable Ideas.....

> - Antony Nambikkai

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
--
Posted via http://www.ruby-forum.com/.

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Antony Prabhu  
View profile   Translate to Translated (View Original)
 More options 10 Nov, 05:00
From: Antony Prabhu <prabhu.r...@gmail.com>
Date: Mon, 9 Nov 2009 21:00:59 -0800 (PST)
Local: Tues 10 Nov 2009 05:00
Subject: Re: Active Scaffold --- Help Urgent
If I used the postgres gem means It shows "Postgres - Adapter gem not
found....."

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rick  
View profile   Translate to Translated (View Original)
 More options 10 Nov, 13:56
From: Rick <richard.t.ll...@gmail.com>
Date: Tue, 10 Nov 2009 05:56:52 -0800 (PST)
Local: Tues 10 Nov 2009 13:56
Subject: Re: Active Scaffold --- Help Urgent
The postgres gem (postgres (0.7.9.2008.01.28)) is not actively
supported.  It will not install under Ruby 1.9 as extconf.rb makes
reference to a constant PLATFORM that is no longer built in to the
Ruby environment.  The version info (0.7.9.2008.01.28) gives a clue
that this gem is no longer current.

I recommend that you go with the pg (pg (0.8.0)) as it will install
and work with both Ruby 1.8 and 1.9.  It is the path forward.

On Nov 10, 12:00 am, Antony Prabhu <prabhu.r...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google