Re: [Rails] Can Ruby on rails be installed on the same machine as SharePoint 2013?

2015-08-20 Thread Raksha Shetty
Yes. SharePoint has REST interface. Thank you. I am trying to use REST API. Getting some security/authentication errors in SharePoint using REST API. Trying to fix it. On Wednesday, August 19, 2015 at 8:08:57 PM UTC-4, Walter Lee Davis wrote: > > > On Aug 19, 2015, at 12:48 PM, Raksha Shetty >

[Rails] Re: I am new to Rails and Cucumber. Can someone help me with the error below?

2015-08-20 Thread Matt Jones
On Thursday, 20 August 2015 12:42:58 UTC-5, ishaque mohammed wrote: > > I am on windows 7, ruby 2.2.2p95, rails 4.2.3. > > > > C:\sites\gmail>rails generate cucumber > > C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.10-x64-mingw32/lib/sqlite3.rb > :6:in `require': cannot load such file -- sq

[Rails] Re: how to find what all associations have dependent: destroy associated with them from a concern

2015-08-20 Thread Matt Jones
On Saturday, 18 July 2015 01:56:43 UTC-5, Aravind Gopalakrishnan wrote: > > I am building a soft delete solution a la > https://github.com/discourse/discourse/blob/master/app/models/concerns/trashable.rb > > . Right now I am manually finding which all associated models need to be > deleted wh

[Rails] Re: Why does rake behave differently in production

2015-08-20 Thread Matt Jones
On Friday, 7 August 2015 15:38:17 UTC-5, Tyler DeWitt wrote: > > Hello, > > I use RabbitMQ to transfer information from one component to another > within my system. I have written a rake task which sets up the RabbitMQ > client (the Bunny gem), then sets up a blocking listener so that I can >

[Rails] Re: Upgrading from rails 3.0 to 3.2

2015-08-20 Thread Matt Jones
On Wednesday, 19 August 2015 20:20:59 UTC-5, Ruby-Forum.com User wrote: > > Hi, > I am new to ruby on rails development. Please excuse me if my question > is too obvious. I am trying to upgrade from rails 3.0 to 3.2. I am stuck > at a point. I am running into this following error. > > INTERNA

[Rails] Re: Downgrading from Ruby 2.1.6 to Ruby 1.8.7

2015-08-20 Thread Matt Jones
On Wednesday, 19 August 2015 23:22:14 UTC-5, Ruby-Forum.com User wrote: > > Hi All, > > Our client wants to downgrade our e-commerce website from Ruby 2.1.6 to > Ruby 1.8.7. I know this makes no sense. But when we got the requirement > to do the website, we developed using the latest version 2

[Rails] How to communicate with json API

2015-08-20 Thread Reto Bhunjun
Currently I am doing the Ruby on Rails Tutorial from Michael Hartl. I am developing that code within the cloud9 IDE. What I am interested in ultimately is to develop some application relating to cryptocurrencies especially the counterparty protocol. For that, I want to read data from the blockscan

[Rails] I am new to Rails and Cucumber. Can someone help me with the error below?

2015-08-20 Thread ishaque mohammed
I am on windows 7, ruby 2.2.2p95, rails 4.2.3. C:\sites\gmail>rails generate cucumber C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.10-x64-mingw32/lib/sqlite3.rb :6:in `require': cannot load such file -- sqlite3/sqlite3_native (LoadError) from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems

[Rails] Re: An interesting evening trying to install ruby on rails

2015-08-20 Thread Elizabeth McGurty
Richard, I am sympathetic... I also work from Windows 7. I have had success with Aptana Studio 3. My opinion is that you clear/uninstall all that you have done, and investigate Aptana. If you do not want to pursue Aptana, clear/uninstall all that you have done, go to authoritative Ruby on R

[Rails] Re: Rails data modelling with has_many through

2015-08-20 Thread Elizabeth McGurty
Forgot: class User < ActiveRecord::Base has_many :user_transaction end -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+u

[Rails] Re: Rails data modelling with has_many through

2015-08-20 Thread Elizabeth McGurty
Thanks Colin and Walter for contribution Liz On Wednesday, August 19, 2015 at 11:28:38 AM UTC-4, Elizabeth McGurty wrote: > > Pradeep, following pertains to more advanced folks here. I thought that > demonstrating a good solution would be easy, but I am encountering > LocalJumpError: no blo

[Rails] Re: Rails data modelling with has_many through

2015-08-20 Thread Elizabeth McGurty
Okay I have prepared the following... First thing is that you need to know a bit about accounting. Accounting involves a (debit/credit) ledger that delineates all business aspects of income, expenses, So to build a web site with tables based on each of these is not, in my opinion, a

[Rails] Re: An interesting evening trying to install ruby on rails

2015-08-20 Thread Frederick Cheung
On Thursday, August 20, 2015 at 2:04:33 PM UTC+1, Richard Lalancette wrote: > > Hey all, > > I have quite some interesting time attempting to get my first server up > with the instructions posted on the main ruby on rails page, but without > success. > > I was hoping someone could point me to t

[Rails] An interesting evening trying to install ruby on rails

2015-08-20 Thread Richard Lalancette
Hey all, I have quite some interesting time attempting to get my first server up with the instructions posted on the main ruby on rails page, but without success. I was hoping someone could point me to the last version that works out of the box. I just want to get a server up so i can create

Re: [Rails] Why javascript only loads once ? (Rails 4)

2015-08-20 Thread Luis McDpugall
Thank you Walter, that worked. - Luis Sent from my iPhone > On Aug 19, 2015, at 8:10 PM, Walter Lee Davis wrote: > > >> On Aug 19, 2015, at 7:07 PM, ITF-tkd wrote: >> >> Hi, >> >> Can someone explain to me why is this behaviour please? >> >> >> The code below only works if I reload the

[Rails] Arabic text showing not properly in the file of s3

2015-08-20 Thread amtest
I have uploaded the csv to s3 with rails, but the issue is, that the file have arabic names, so when i open that csv file directly from s3 console, its showing the arabic names as gibberish, i have attached that *image* here

[Rails] Curl to Rest API Implementation

2015-08-20 Thread BalaRaju Vankala
Hello All, I am using rest api for one of my projects, I am using httparty gem. $ curl --data-binary @mytickets.pdf " https://brokerapi.ticketcity.com/orders/{SALEID}/uploadticket?api={APIKEY}"; I don't know how to call above link in the httparty gem. Could you please explain how to implement.