if notice = response_status_and_flash.delete(:notice)
flash[:notice] = notice
end
This is a common C idiom.
The best solution is to always write your == with the constant on the LEFT
instead
of the right.
:D
--
make haste slowly \
festina lente \
-
mobile +1_415_632_6001
/usr/bin/ruby /backups/s3sync/s3sync.rb -r -s --progress
/backups/cpbackup/weekly redwood_server:cpanel/$CYEAR/$CMONTH/$CDAY/
I don't think you want to quote that entire string :-)
i concur.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
Hi Bryan,
Thanks for your reply.
Yes I can log in as any of the three users that I have postgres and
two other test users I created in trying to resolve this issue.
what host do you have set in your database.yml ?
--
make haste slowly \
festina lente \
-
mobile
On Fri, Mar 11, 2011 at 2:33 PM, Luke kickingje...@gmail.com wrote:
Hi there,
I posted this issue
https://groups.google.com/forum/?hl=de#!topic/carrierwave/ergk9LaO68kat
the carrierwave-group, but I'm beginning to think this rather is a
rails-issue than a problem with carrierwave. The
config.autoload_paths
should include 'lib' to load you code - it is strange that this isn't
happening.
Rails.root is what we use in rails 2
On Sun, Mar 13, 2011 at 9:00 AM, Dave Castellano li...@ruby-forum.comwrote:
Whoops, stupid error...
require
On Sun, Mar 13, 2011 at 4:42 AM, Erwin yves_duf...@mac.com wrote:
In the controller , I am passing an Array as a collection
@objects = [item1, item2, item3, item4]
in the view I wrote
%table#objects
= render :partial = 'object', :collection = @objects
and in my partial _object.html
On Sun, Mar 13, 2011 at 9:20 AM, Zhenning Guan li...@ruby-forum.com wrote:
I marshal a Model object and store into a table column(text type), it
always strip the size into 127. so I can not return a marshal object to
model object. how can I make this work?
the text column is 2GB- you must
Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock'
database.yml for mysql defaults to this you can change it with
socket: /var/run/mysqld/mysqld.sock
what i have noticed :
1- no socket file in the /var/lib/mysql/mysql.sock under
/var/lib/mysql/.
2- i was
On Sun, Mar 13, 2011 at 5:47 AM, Phoenix Rising polarisris...@gmail.comwrote:
Hey guys,
So I'm building a Rails 3 app and one of the major things it needs to
do is let users upload photos into their own photo albums. That part
in and of itself isn't a problem; where I'm a bit short on
Want to be mentored in software practice, develop a relationship with
a permaculture based non-profit and work with the following technology
rails3,unicorn,mongodb, ruby19, haml, git, rspec and ubuntu?
Our team is comprised of you, myself, my apprentice, a ux volunteer
and a design and new media
benchmarks - multi-process configuration / multi-interpreter setup / and
where the community is with respect to jetty/netty/trinidad etc.
On Thu, Feb 3, 2011 at 8:53 AM, Deon Silva li...@ruby-forum.com wrote:
Yes. What specific info are you looking for.
--
Posted via
if you name your partial
partials/rows/asset
then you can use
:object = Asset.new
instead of :locals = ...
On Wed, Feb 2, 2011 at 11:22 AM, Edward Stembler li...@ruby-forum.com wrote:
Edward Stembler wrote in post #979228:
Now I need to figure out how to get it working with jQuery since
2011/2/1 Albert Català li...@ruby-forum.com:
Hello,
I whish configure logger, adding a prefix in all logger.error(..), a
prefix like ERROR--, to be able, then to search in
log file, easily.
And to do that I had the idea of reopen Logger class, like this:
- In a file placed
2011/2/1 Albert Català li...@ruby-forum.com:
Hello,
I whish configure logger, adding a prefix in all logger.error(..), a
prefix like ERROR--, to be able, then to search in
log file, easily.
And to do that I had the idea of reopen Logger class, like this:
- In a file placed
On Tue, Dec 21, 2010 at 10:05 AM, Ralph Shnelvar li...@ruby-forum.com wrote:
In HAML I have hundreds of lines like the following:
- xyz = someFuncThatReturnsString('xyz')
and elsewhere
%div{'id' = xyz}
The above lines work fine.
it will help if you can post a 'gist'
On Sun, Dec 19, 2010 at 5:03 PM, Mike C snib...@gmail.com wrote:
I'm a little confused about custom routes in rails 3. I have a
variable that I had a default value for in rails 2, and changing it to
rails 3 version gives this:
match 'stories/list/:story_list/:search' = 'stories#index', :as =
[Forgive the Crosspost - this is a community mailout ]
What: October 22-23 Rails Outreach for Women
URL:
http://www.meetup.com/sfruby/calendar/14835957/
Short:
Wanted : Rails, BDD/TDD, Cucumber, Ruby Teachers / Volunteer
Long:
Do you want to share your experience?
Have you ever thought Gee -
17 matches
Mail list logo