Displaying 20 results from an estimated 4000 matches similar to: "Security Expose: Assume folks have seen this -"
2013 Apr 02
10
Suggested strategies for testing a gem against Rails 3.x and Rails 4?
I''ve seen a few examples of dummy Rails apps (for testing, so they live
under test or spec dirs, typically) for use with the Appraisals gem that
supposedly work with both Rails 3.x and Rails 4, but they seem hackish and
not fully functional. It is somewhat expected, as it is a stripped down
Frankenstein monster that is trying to be compatible with various versions
of Rails 3 as well
2012 Sep 19
7
Renaming Journey and avoiding libraries with common noun names
Hi all,
I know this is a long shot, but could renaming the "Journey" module please
be considered by those in a position to support it?
I''ve written an issue on this in the journey repo also:
https://github.com/rails/journey/issues/49
Essentially our project has a model named Journey, the same as Rails 3.2''s
new routing driver. As a consequence we can no longer
2012 Dec 18
2
cache-busting non-digest assets in sprockets in development a good idea? should headers in sprockets be configurable?
Just monkey patched Sprockets in our Rails 3.2.9 app to override the
Cache-Control header for html assets that we need to tweak more often in
development, but that we don''t want to use digests/fingerprinting with:
# Sprockets 2.x patch
if Rails.env.development?
module Sprockets
module Server
private
alias_method :sprockets_headers, :headers
def headers(env,
2012 Dec 12
1
#8498 postgres_adapter fix for disable_referential_integrity
Please review this patch for postgres adapter''s referential_integrity.rb in
Rails master and 3.2.9 and let me know what you think. We are using it via
an initializer (monkey patching the adapter directly vs. in module):
https://github.com/rails/rails/pull/8498
Fixes this issue also seen by others in Foreigner:
https://github.com/matthuhiggins/foreigner/issues/61
Problem that it
2006 Dec 07
17
compress and max upload size?
I am using mongrel_cluster with mod_proxy_balancer and would like to
enable compression (assuming it improves throughtput) and limit file
size upload. I configured mod_deflate and LimitRequestSize in Apache,
but in my trials looks like the proxied calls bypass those directives
(the conf goes below).
Is there a way to get this?
-- fxn
# Adapt this .example locally, as usual.
#
# To be
2006 May 24
7
migrations and SQLite
I read in the instructions of Tracks that "upgrading via the rake
migrate command is quite a bit more tricky currently with SQLite and
SQLite3". Is there any gotcha regarding migrations and SQLite3?
-- fxn
2011 May 10
7
Webrick script/server file does not exist
Hello all,
I worked fairly enough with PHP and MySQL, but am very new to Ruby.
I have Windows machine with Apache and MySQL installed previously.
Both Apache and MySql were stopped while installing Ruby.
I tried several ways to install Ruby 1.8.7 and one-step installer.
I can use Ruby with netbeans 6.0.1 with its own Ruby or with the one I
installed now.
The problem starts when I try to create
2006 Oct 08
2
'weaver' package problem
Hi Seth,
The possibility of caching computations would be a great boon when
one is iteratively refining a paper; so I'm most grateful for your
work on this. Unfortunately I have a problem to report:
******************installing******************
> source("http://bioconductor.org/biocLite.R")
> biocLite("weaver")
Running getBioC version 0.1.8 with R version
2007 Oct 11
7
1.0.2 release candidates
Hello Mongrels,
Release candidates for Mongrel 1.0.2 and its dependencies are now
available. Note that gems are now signed, so please add the Mongrel
public certificate via:
$ wget http://rubyforge.org/frs/download.php/25325/mongrel-public_cert.pem
$ gem cert --add mongrel-public_cert.pem
Now you can verify and install the candidates via gem install:
$ sudo gem install mongrel
2007 Oct 22
30
TST is right out
Hi Zed,
I checked in a pure-Ruby URI classifier to Mongrel trunk. Ola''s Java
port of the TST had some bug, and I don''t think it''s necessary in the
first place. The Ruby classifier is around 25 lines instead of the
400-odd lines for the C extension and the 200-odd for the Java
extension. It uses a Regexp which is perhaps shady:
@matcher = Regexp.new(routes.map do
2013 Nov 06
6
Feature: make capitalization optional in *humanize*
According to the documentation<http://api.rubyonrails.org/classes/ActiveSupport/Inflector.html#method-i-humanize> of
ActiveSupport::Inflector:
*humanize*(lower_case_and_underscored_word)
Capitalizes the first word and turns underscores into spaces and strips
a trailing “_id”, if any.
* Example: humanize("employee_salary") # => "Employee salary"*
I would
2007 Dec 15
6
1.1.2
Hi all,
There is a bug with Mongrel on JRuby 1.0.3 that the JRuby guys want
fixed before they release it.
If it''s ok with people I''d like to fix that, revert (at least for now)
the proxy response change, and tag that as 1.1.2 and release it.
Anything wrong with this plan?
Evan
--
Evan Weaver
Cloudburst, LLC
2006 Jan 01
4
Agile book deltas
Are there deltas for the revisions of the PDF version of the Agile book?
-- fxn
2006 Jul 17
5
quantic phenomena in migrations
I have an application with 15 migrations under version control. In a
Mac and and in a Windows, a rake migrate from scratch runs them all
just fine. But in a different Windows machine rake migrate stops
after migration 3 for no apparent reason. --trace seems normal. No
error is reported. Both Windows are XP SP2. They all have the same
svn revision and Rails-related software, database is
2007 Nov 08
26
Mongrel wiki?
Dear Mongrels,
The same questions keep coming up over and over on the list, which is
ok, but not really optimal. If we added a wiki to the Mongrel site to
handle FAQs, what wiki should it be?
Required features would be:
* Spam protection
* Doesn''t look shitty
I would probably spring for Trac (and also migrate the bugtracker) if
noone else has opinions, but I''m sure some of
2010 Feb 25
9
uninitialized constant UsersController::User
i just created an application to list the primary details of
userbut it is showing an error lik this
"uninitialized constant UsersController::User"
this is my controlller
class UsersController < ApplicationController
puts"hiiiiiiiii"
def index
puts"hiiiiiiiii"
@users = User.find(:all)
puts @users
respond_to do |format|
format.html # index.html.erb
2006 Aug 22
1
ANN: 'weaver' package, caching for Sweave
Hi all,
I've added a new package 'weaver' to the BioC repository:
http://www.bioconductor.org/packages/1.9/bioc/html/weaver.html
The weaver package provides extensions to the Sweave utilities
included in R's base package. The focus of the extensions is on
caching computationally expensive (time consuming) code chunks in
Sweave documents.
Why would you want to cache code
2006 Aug 22
1
ANN: 'weaver' package, caching for Sweave
Hi all,
I've added a new package 'weaver' to the BioC repository:
http://www.bioconductor.org/packages/1.9/bioc/html/weaver.html
The weaver package provides extensions to the Sweave utilities
included in R's base package. The focus of the extensions is on
caching computationally expensive (time consuming) code chunks in
Sweave documents.
Why would you want to cache code
2006 Feb 19
4
is "display" a reserved name of some sort?
A view display.rhtml sees no controller state variables set in the
corresponding display action. Why?
-- fxn
2015 Aug 21
2
site updates
Thanks for your work on LLVM!
Noticed that on the site on http://llvm.org/ you might want to list
RubyMotion http://www.rubymotion.com/ as a user/project. Also, HipByte
who writes RubyMotion could be listed as one of the companies that use
it.
Gary