On 5 October 2012 21:41, mukul saharia mukul8...@gmail.com wrote:
How to empty DB in heroku
I have a Postgres database on Heroku. It is one of the free beta ones.
Locally, when testing, I often run rake db:drop rake db:create rake
db:migrate as a way to reset the database.
However, when I
You up for remote pair programming?
I am working on an open source Rails project
(RideSharehttps://github.com/thelabtech/rs/tree/develop)
and leave an hour or so open for pairing.
No pressure. Just an option.
On Friday, October 5, 2012 3:58:31 PM UTC-5, gsw wrote:
A lot of people tweet and
Hey Thank you ...
On Fri, Oct 5, 2012 at 6:39 PM, Robert Walker li...@ruby-forum.com wrote:
BalaRaju Vankala wrote in post #1078613:
Hello Every One
Can any one Explain URI::Regexp in Rails . I found one
thing for validation of website URI::Regexp(%w(http https))
Pab wrote in post #1027023:
@Tim thanks for your help, your idea works fine
thanks,
-pab
Thanks u all
Regards
Fahim Babar Patel
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to
Hello,
I decided that I use paperclip to handle my images.
I have this model for posts
class Micropost ActiveRecord::Base
attr_accessible :content, :user_id
belongs_to :user
end
So according to the manual I have to do this :
has_attached_file :photo
But :photo is never used anywhere.
I have two separate groups of people authenticated w Devise , but in
this case I cannot used the Devise embedded OmniAuth support. So i am
using directly the OmniAuth gem.
Initialized w :
Rails.configuration.middleware.use OmniAuth::Builder do
..provider :twitter,
..
end
It's running fine , but
Why can't a class be an instance of class Class and also inherit from
class Class in ruby?
Let's say I defined a singleton method on Class:
1.9.3p0 :032 class Class
1.9.3p0 :033? def Class.class_singleton
1.9.3p0 :034? puts 'class singleton'
1.9.3p0 :035? end
1.9.3p0 :036? end
And
I read this article:
http://www.madebydna.com/all/code/2011/06/24/eigenclasses-demystified.html
Author makes claim that are flat out wrong. She says: Class gets
pushed up the lookup chain and becomes a superclass. That statement
is flat out wrong. A class object does not inherit from class
Hi John,
On Sat, Oct 6, 2012 at 2:43 PM, John Merlino stoici...@aol.com wrote:
I read this article:
http://www.madebydna.com/all/code/2011/06/24/eigenclasses-demystified.html
Author makes claim that are flat out wrong. She says: Class gets
pushed up the lookup chain and becomes a
I am having a similar issue.
I figured out to add a blank item to the top of the list. But then when
I go back in to edit mode, it gets upset because it doesn't exist in the
collection.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the
This jquery ajax call always submits as a get even though it is a put
request. Ideas why?
jQuery -
$(.activity_status).click -
#alert person_id
$.ajax -
type: 'PUT'
url: /answers/
data: person[id]=+person_id
--
You received this message because you are subscribed to the Google Groups
Hi,
I am very new to Rails. I am trying to delete an email that I have
retrieved from a pop3 account. I googled around but couldn't find any
thing on that topic. I couldn't find any API Doc either. What do I need
to do to delete an email?
--
You received this message because you are
That really depends on the library (gem) you used, the method you
store it as and most importantly where you stored it at. Since it's
not a system account (I'm assuming) it's not going to store it in
system mail unless the gem is absolutely ignorant so you would have
had to of told it where and
Isn't the mail gem part of rails 3.2.8?
In my code, I put require 'mail'
Mail.defaults do
retriever_method :pop3,
address:pop.xxx.com,
port: 995,
user_name: 'xxx',
password: 'xxx',
enable_ssl: true
end
14 matches
Mail list logo