[Rails] Where is bootstrap gem for Rails 3?

2015-09-05 Thread Jim Morris
I'm trying to maintain a system written in Ruby 1.9.3 and Rails 3.2.13. My Gemfile.lock (retrieved from a working Heroku repo) calls for bootstrap-0.0.1, but I can't find it anywhere. I can't find any discussion on the web about this issue. How do I get a copy of it? -- You received this

[Rails] Re: [RAILS] Removing (.:format) from a resource in routes

2011-10-15 Thread Jim Morris
in 3.1.1 at least you can add , :format = false to the end of the route. found here.. .http://guides.rubyonrails.org/routing.html#request-based-constraints under section 3.11 Route Globbing -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group.

[Rails] Re: rails 3.1 assets:precompile deployment

2011-10-14 Thread Jim Morris
good job, I suggest you file this as a bug in the rails bug list so it can be fixed -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To view this discussion on the web visit

[Rails] Re: rails 3.1 assets:precompile deployment

2011-10-13 Thread Jim Morris
This issue seems to have been fixed with 3.1.1, at least for me I was able to deploy using capistrano's deploy/assets additions, it worked well, and the assets were compiled on the server pretty quickly. Whereas with 3.1.0 it never completed the compile on the server. -- You received this

[Rails] Re: rails 3.1 assets:precompile deployment

2011-09-09 Thread Jim Morris
I experienced the same thing, although in my case it takes so long to precompile on my server I don';t know if it ever finishes, waited 15 minutes one time and it still had not finished. My solution was to precompile locally which takes a few seconds, then copy the public/assets directory to

[Rails] Re: Issue with asset pipeline helper with Rails 3.1 final release.

2011-09-02 Thread Jim Morris
the error you are getting running rake assets:precompile locally is that you probably do npt have the production database setup locally and for some reason it tries to connect to the production database, I fixed this error by simply creating the production database locally. I can't help with

Re: [Rails] Re: Issue with asset pipeline helper with Rails 3.1 final release.

2011-09-02 Thread Jim Morris
I could deploy that way although the latest capistrano does seem to have a builtin for assets if you load 'deploy/assets', however I want to precompile locally and upload the resulting public/assets. I don't want to have to deploy all the assets stuff to my production server and precompile on

[Rails] Re: PGError: server closed the connection unexpectedly

2011-08-26 Thread Jim Morris
Well my setup is different, I use rails 3+, I've used pg 0.10 and now pg 0.11, posgresql 8.4, ruby 1.8.7 and the current passenger. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To view this discussion on the web visit

[Rails] Re: PGError: server closed the connection unexpectedly

2011-08-25 Thread Jim Morris
I was getting these errors too, in my case it turned out to be the ssl connection to postgresql (on a local to local connection). Seems it uses ssl by default, and there is an issue with long running ssl connections. Simple solution for me was to turn off SSL on the connection, as it was a

[Rails] Re: emacs-rails

2011-03-07 Thread Jim Morris
also check out the group for it... http://groups.google.com/group/emacs-on-rails On Mar 7, 6:49 am, nellinux tani...@gmail.com wrote: What is the best mode for Rails in Emacs ? I have emacs-rails but it seems not updated to support rails 3. Thank you for your suggestion.   T. -- You

[Rails] Re: What's the current state for captchas? (negative or otherwise)

2011-01-10 Thread Jim Morris
Personally I use a very simple field that asks are you a spambot? hint say no, This seems to eliminate 99.9% of all comment spam on my blog, as spambots are not smart enough to say no, however it does not stop a human spammer. I also really like this Rack Middleware,

[Rails] Re: Having problems with rails connectivity to postgres (libpq?)

2010-12-19 Thread Jim Morris
switched to a local connection. Although I have two other older rails apps running presumably with SSL and they have not exhibited this error. On Dec 19, 2:32 am, Tim Uckun timuc...@gmail.com wrote: On Sun, Dec 19, 2010 at 7:26 PM, Jim Morris wolfma...@gmail.com wrote: I've spent the day trying

[Rails] Re: Having problems with rails connectivity to postgres (libpq?)

2010-12-19 Thread Jim Morris
It turns out you can also turn off ssl in the database.yml file by adding sslmode: disable Although I have found no way to determine if the connection is SSL or not. On Dec 19, 1:30 pm, Tim Uckun timuc...@gmail.com wrote: I suspect what is happening in my case, (and maybe yours), is the SSL

[Rails] Re: Having problems with rails connectivity to postgres (libpq?)

2010-12-18 Thread Jim Morris
, or when yo connect at the command line with psql -h localhost yourdbname if it prints out SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256) then it is using SSL. Let me know. On Dec 18, 4:56 am, Tim Uckun timuc...@gmail.com wrote: On Sat, Dec 18, 2010 at 11:05 AM, Jim Morris wolfma

[Rails] Re: Having problems with rails connectivity to postgres (libpq?)

2010-12-17 Thread Jim Morris
I have recently deployed a similar setup, Ubuntu 10.04, pgsql 8.4, rails 3.0.3, pg gem etc. I have started to see this error occasionally, that request fails then subsequent requests are OK, the pgsql log says the client disconnected! Sequel::DatabaseDisconnectError (PGError: server closed the