On Tuesday, June 3, 2014 5:32:57 AM UTC+1, Alexey Chernenkov wrote:
My question is about AR transactions feature. Is it thread safe?
Is it safe to use both `ActiveRecord::Base.transaction do ...` and
`Account.transaction do ...` statements?
It should be - a connection is only ever used by
On 3 June 2014 05:11, Ali Eshragi a.eshr...@gmail.com wrote:
Hi All,
My name is Ali and I am an embedded software engineering (C, C++ on embedded
platforms), but want to learn Ruby on Rails mainly because I want to start
my own start-up and based on my research Rails is the most efficient way
I followed this tutorial:
http://www.neo.com/2013/10/09/unicorn-on-joyent-smartos and the RailsCast about
configuring Nginx and Unicorn, and successfully set up my first
non-Passenger/Apache Rails app last weekend.
Buoyed by this success, I next set about trying to get ThinkingSphinx to
I need to add geo location / mapping to an application such that users can
be presented with and select service providers (such as dentists) in a
graphical manner. The user's selection would need to be stored in my app's
database. I am looking at google maps, yelp, foursquare, and facebook
I just used the Geocoder gem again recently, reminded how awesome that is for
the search side as well as coding an address into a lat/lng.
gem 'geocoder'
As far as showing the results on a map, you can use the Open Street Map for
that, or Google if you like to fiddle with API keys. Either one
WD, Thanks for the reply. I am familiar with geocoder and use it already
but it only helps for service providers already in my database. I am
looking for a solution that essentially allows me to externalize the
storage of heathcare provider information (anything from dentists to
massage
I am using Ruby 1.9.3 and Rails 3.2.16.
When I run test suite: bundle exec rspec spec/
I get following error:
1) Authentication authorization in the Users controller visiting the
following page
Failure/Error: before { visit following_user_path(user) }
NameError:
undefined
On 3 June 2014 17:28, James Davis, PhD james.davis...@gmail.com wrote:
WD, Thanks for the reply. I am familiar with geocoder and use it already
but it only helps for service providers already in my database. I am
looking for a solution that essentially allows me to externalize the storage
You haven't assigned anything to the user variable used at line 93 inside
the method call following_user_path
You coudl try to create an user using factory girl, inside your current
scope, perhaps using:
let(:user) { FactoryGirl.create(:user) }
Anyway, I strongly recommend that you refactor this
Antônio Augusto Sousa Britto wrote in post #1148726:
You haven't assigned anything to the user variable used at line 93
inside
the method call following_user_path
You coudl try to create an user using factory girl, inside your current
scope, perhaps using:
let(:user) {
On Tuesday, June 3, 2014 12:35:51 PM UTC-5, Colin Law wrote:
On 3 June 2014 17:28, James Davis, PhD james.d...@gmail.com javascript:
wrote:
WD, Thanks for the reply. I am familiar with geocoder and use it
already
but it only helps for service providers already in my database. I am
On 3 June 2014 19:29, James Davis, PhD james.davis...@gmail.com wrote:
On Tuesday, June 3, 2014 12:35:51 PM UTC-5, Colin Law wrote:
On 3 June 2014 17:28, James Davis, PhD james.d...@gmail.com wrote:
WD, Thanks for the reply. I am familiar with geocoder and use it
already
but it only
On Tuesday, June 3, 2014 1:36:40 PM UTC-5, Colin Law wrote:
On 3 June 2014 19:29, James Davis, PhD james.d...@gmail.com javascript:
wrote:
On Tuesday, June 3, 2014 12:35:51 PM UTC-5, Colin Law wrote:
On 3 June 2014 17:28, James Davis, PhD james.d...@gmail.com wrote:
WD,
On Jun 3, 2014, at 3:24 PM, James Davis, PhD wrote:
On Tuesday, June 3, 2014 1:36:40 PM UTC-5, Colin Law wrote:
On 3 June 2014 19:29, James Davis, PhD james.d...@gmail.com wrote:
On Tuesday, June 3, 2014 12:35:51 PM UTC-5, Colin Law wrote:
On 3 June 2014 17:28, James Davis,
14 matches
Mail list logo