[Rails] JOB | Front End Architect (London)

2019-09-26 Thread James Tobin
further off-list using "JamesBTobin (at) Gmail (dot) Com". Kind regards, James -- 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 rubyo

[Rails] [JOBS] Project Rōnin - A Cancer Care OS - Full-time Sr. Engineer - San Mateo, CA

2018-11-29 Thread james
Build the future of oncology care. We’re looking for belief-driven self-starters who want to leave their mark on the world of oncology. We need bold, dynamic, curious people to join our team, work alongside us, and have some fun along the way.

[Rails] [JOBS] Stowga | London, UK | ONSITE | £40-60k + Options | Full-Stack Rails Developer | stowga.com

2018-01-29 Thread james
[JOBS] Stowga | London, UK | ONSITE | £40-60k + Options | Full-Stack Rails Developer | stowga.com The Opportunity Stowga is an early stage, rapidly growing startup backed by some of the best investors in Europe and the US. We won Wired Magazine’s Startup Showcase 2017 award and have just

[Rails] Social Login with Rails5 API

2017-10-24 Thread James
Hi all, I need to give social logins end point for facebook and gmail using rails api. Can anyone suggest me how can I achieve this one any guide plz.. Thanks in advance.. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To

Re: [Rails] Rails5 API with Devise gem

2017-10-24 Thread James
As this is api we don't have views. <%= debug current_user %> can't be done. I have just used devise gem am trying to override the login of devise as devise have its own login process but in api it does not work that way.. Correct me am wrong.. On Tuesday, October 24, 2017 at 6:44:23 AM

[Rails] Need partners for hobby project

2017-10-08 Thread James Davis, PhD
I would be interested. -- 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+unsubscr...@googlegroups.com. To post to this group, send email

Re: [Rails] changing mysql engine and options in schema.rb

2017-04-08 Thread James Jelinek
Fugee, You keep making really asinine remarks. Eluding to someone trying to help you as Lee Harvey Oswald is just distasteful. Either get your attitude straight or get off this mailing list. Sent from my iPhone > On Apr 7, 2017, at 9:18 PM, fugee ohu wrote: > > > >>

Re: [Rails] jquery radio buttons

2017-04-02 Thread James Jelinek
Agreed. Politeness and kindness goes a long way. Sent from my iPhone > On Apr 2, 2017, at 8:48 AM, Colin Law wrote: > >> On 2 April 2017 at 14:24, fugee ohu wrote: >> >> This isn't the place to post links to other forums Answer the question or >>

Re: [Rails] show method variable

2017-03-05 Thread James Jelinek
You’re getting no method error “qty” because @product is not set in your controller action. So you’re essentially trying to subtract @taken from something that is NIL. You need to see @product as an instance variable in your specific controller method and this should work out for you. -James

Re: [Rails] show method variable

2017-03-03 Thread James Jelinek
As Colin mentioned you’d want to recalculate the variable in each method that it’s used. Global variables may work for your use case but they are not best practice and can lead to a mutable/mutex object which may not be your intended behavior. > On Mar 3, 2017, at 4:39 PM, Joe Guerra

Re: [Rails] data no same.

2016-10-16 Thread James Jelinek
In this action you're saying if @n render new which will always render your new view in the controller namespace. Then your else is @admin.save That's why it's not functioning. Depending on what you are trying to do I'm assuming you want if @admin.save then a render or redirect afterwards. Your

Re: [Rails] Using active record outside rails

2016-09-28 Thread James Jelinek
ActiveRecord is an actual gem that must be installed ergo why it's asking for it to be in the Gemfile. Yes it's tightly coupled with rails but you can absolutely use it in a plain Ruby app. Just install the gems you need and in pry/irb you can call require and it'll load the library provided

Re: [Rails] Looking for material to learn about Rails 4/5

2016-09-23 Thread James Jelinek
Check out gorails.com. Great site! Sent from my iPhone > On Sep 23, 2016, at 1:47 AM, Florian Pilz wrote: > > Hi, I'm starting to work full-time with Ruby on Rails again. However, I > haven't used Rails during the past 3 years, thus my knowledge is a little bit > out of

[Rails] ROR on Ubuntu 14.04

2016-08-18 Thread James Davis, PhD
Is RVM installed? What is the output from 'rvm get stable'? -- 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

Re: [Rails] Need few developers who want to get interesting online learning for free

2016-08-17 Thread James Jelinek
I'll bite. I'll signup and evaluate for you. Sent from my iPhone > On Aug 17, 2016, at 5:56 AM, Mikhail Khomutetskiy > wrote: > > Hi! > I'm looking for 10-15 RoR developers who wants to become first users of my > educational service http://procoder.io for free. This

Re: [Rails] ROR on Ubuntu 14.04

2016-08-15 Thread James Jelinek
Did you do rvm install 2.3.1? Or whatever version number you're using? Also once in your directory you'll want to do rvm use 2.3.1 or whatever version you're using. Please provide more output if you can. Sent from my iPhone > On Aug 15, 2016, at 8:09 AM, Suhel Inamdar

Re: [Rails] Upgrade to Rails 5 link not working

2016-08-07 Thread James Jelinek
What was the gem causing the conflict? Sent from my iPhone > On Aug 7, 2016, at 4:36 PM, Jimmy Lin wrote: > > There is no issue with turbolink nor with any page source. > Then when i go through my gem file, i found an old gem which i don't need > anymore. I checked and

Re: [Rails] Offline rails application

2016-07-30 Thread James Davis, PhD
Perhaps a mobile app would provide the solution you seek. I recently created an iOS app (using RubyMotion) that works offline and syncs with my webapp when it has connectivity again. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To

[Rails] Re: Bootstrap Navbar

2016-07-30 Thread James Davis, PhD
Glad to hear you figured it out. It gets easier. Errors that used to take me hours to find / fix now take seconds. -- 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

[Rails] Hello...

2016-07-10 Thread James Davis, PhD
Welcome! -- 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+unsubscr...@googlegroups.com. To post to this group, send email to

Re: [Rails] [Screencast] Progressive Render

2016-06-13 Thread James Jelinek (shakycode)
Great episodes as always, Dave! Keep them coming. Let’s chat offline, I’d love to do a pair video with you for our channels. Cheers, James Subscribe to my Youtube Channel: https://www.youtube.com/shakycode <https://www.youtube.com/c/shakycode> > On Jun 13, 2016, at 7:11 AM, Da

Re: [Rails] Re: I need a RoR/Ruby chat with community.

2016-06-07 Thread James Jelinek (shakycode)
There's an active slack channel on gorails.com too. Lots of us in there willing to help. Sent from my iPhone > On Jun 7, 2016, at 9:52 AM, Frederick Cheung > wrote: > > > >> On Monday, June 6, 2016 at 5:26:34 PM UTC+1, Pavel Sh wrote: >> Hi guys, I'm trying to

Re: [Rails] need a background task to run 1hour after create

2016-05-27 Thread James Jelinek (shakycode)
t it’s a great little gem and I use it for lots of small projects where sidekiq is overkill. Cheers, James Subscribe to my Youtube Channel: https://www.youtube.com/shakycode <https://www.youtube.com/c/shakycode> > On May 27, 2016, at 3:50 AM, Saurav <prio...@gmail.com> wrote: >

Re: [Rails] D3.js, Rails-5 Machine Learning Stock Market App For Your Laptop

2016-05-21 Thread James Jelinek (shakycode)
This is really interesting work. Kudos to you! Sent from my iPhone > On May 21, 2016, at 14:39, Dan Bikle wrote: > > D3-Rails-people, > > I just finished writing spy611.com which is a D3.js-Rails-5-web-app with a > Python scikit-learn machine learning back-end. > > I use

Re: [Rails] How do I make this relation?

2016-05-12 Thread James Jelinek (shakycode)
Benadryl will help with the allergies, Colin’s suggestions on following Rails conventions and naming your associations and classes will help with the code part. Good luck! Cheers, James Subscribe to my Youtube Channel: https://www.youtube.com/shakycode <https://www.youtube.com/c/shakyc

[Rails] Twitter bot tutorial

2016-05-06 Thread James Jelinek
I made a quick video on a Twitter bot in ruby, also a link to a rails app in the video description: https://youtu.be/Ix1f5ntTFI4 I'm making weekly rails and ruby videos, so please subscribe for future updates. I'm also doing cool vendor tshirt, cloud hosting, and amazon gift card giveaways

[Rails] Twilio Voice Integration in Rails

2016-05-02 Thread James Jelinek
Hey guys and gals. I did a video tutorial on integrating Twilio Voice into a Rails app. It's a pretty basic implementation but I figured some of you might be interested in seeing it. https://youtu.be/vQWHduzPgLE I will be posting more screencasts that should be helpful to the ruby and rails

Re: [Rails] Re: Tagging pictures

2016-03-22 Thread James Jelinek (shakycode)
Have you thought about a possible polymorphic association between user, albums, and images? It may be a more straightforward approach for you. You can read about it in the Rails association guide or if you have specific questions I’m sure one of us can help! -James > On Mar 22, 2016, at 3

Re: [Rails] Re: Tagging pictures

2016-03-22 Thread James Jelinek (shakycode)
I see where you’re going with this and now that I understand your use case I think acts_as_taggable isn’t what you want. You can build a hash with categories that can be manipulated by the user, or you can create a model/association between user/categories/images that would probably fit your

Re: [Rails] Re: Tagging pictures

2016-03-22 Thread James Jelinek (shakycode)
Well if you are building a hash on the user model then you are sort of constrained by your tags/categories. With acts_as_taggable it is much easier for users (or you) to tag comment with keywords. This negates the need to maintain the hash in the user model. -James > On Mar 22, 2016, a

Re: [Rails] Tagging pictures

2016-03-22 Thread James Jelinek (shakycode)
I did something similar to this and acts_as_taggable was a pretty lean solution. What makes you not want to use it? -James > On Mar 22, 2016, at 2:25 PM, Johnny Stewart <li...@ruby-forum.com> wrote: > > I'm working on an app which has an image upload facility for users,

Re: [Rails] Gem::Load error

2016-01-25 Thread James Jelinek (shakycode)
What does your Gemfile look like? Does it have the pg gem listed? -James > On Jan 25, 2016, at 3:24 PM, Benyamin Pm <li...@ruby-forum.com> wrote: > > hi everyone.. > i install rails and all the things which is need for. > i create a new project > i create datbase's

Re: [Rails] Re: Gem::Load error

2016-01-25 Thread James Jelinek (shakycode)
Ok, but would you mind posting your Gemfile in a github gist so we can look at it? What happens when you run “bundle install” from the command line? Does it install all of the gems in your Gemfile? -James > On Jan 25, 2016, at 3:33 PM, Benyamin Pm <li...@ruby-forum.com> wrote: &

Re: [Rails] rails server starting error

2016-01-24 Thread James Jelinek (shakycode)
It’s telling you that you installed openssl installed as a gem which is a system binary and library. Remove that line from your Gemfile and run bundle again to rebuild your gemset. It should get rid of the error when launching rails server or rails s. -James > On Jan 24, 2016, at 12:41

Re: [Rails] I Love Ruby Updated

2016-01-16 Thread James Jelinek (shakycode)
Thanks for sharing, this is great! > On Jan 16, 2016, at 1:37 AM, Karthikeyan A K <77mi...@gmail.com> wrote: > > Hello People, > > I have updated my Ruby book I Love Ruby. Please get it here > https://cloud.openmailbox.org/index.php/s/u4sX065QRgjbJL2/download >

Re: [Rails] Re: Need help upgrading to Rails 5

2015-12-30 Thread James Jelinek (shakycode)
Yeah you have to specify the version number prior to the “new” verb. I think this is especially important when you have multiple versions of the Rails gem installed on your system. > On Dec 30, 2015, at 11:15 AM, Dan Cromer wrote: > > I was able to fix this. The

Re: [Rails] First rails hello webpage is not showing with netbeans ide 6.9.1

2015-12-13 Thread James Jelinek (shakycode)
Remember, we all started somewhere and were initially clueless too. > On Dec 13, 2015, at 11:29 AM, Colin Law wrote: > > On 13 December 2015 at 16:54, Rajeshbabu Vakkalagadda > wrote: >> development log attached >> >> Attachments: >>

Re: [Rails] search not working right

2015-12-07 Thread James Jelinek (shakycode)
Also in the previous code, you can do ILIKE instead of like to get rid case sensitivity. Just a FYI :) > On Dec 7, 2015, at 10:25 AM, Colin Law wrote: > > On 7 December 2015 at 16:15, fugee ohu > wrote: >> Thanks Colin, the

Re: [Rails] Capistrano and new lines in command

2015-11-19 Thread James Jelinek (shakycode)
. I will do some searching and see what else I can come up with. -James > On Nov 19, 2015, at 9:31 AM, Colin Law <clan...@gmail.com> wrote: > > I hope someone can help with a capistrano problem. > I have been using Capistrano to deploy a rails 3.2 app for a little > w

[Rails] Re: My program does not work after adding helpler

2015-11-02 Thread James Harold
On Sunday, November 1, 2015 at 8:15:53 PM UTC-6, James Harold wrote: > > I have just gotten to Chapter Four of Michael Hartl's Ruby on Rails > Tutorial, and I can't seem to get the program to work after adding a helper > to the program. Here is the code fr

Re: [Rails] Re: My program does not work after adding helpler

2015-11-02 Thread James Harold
On Monday, November 2, 2015 at 10:18:01 AM UTC-6, Colin Law wrote: > > On 2 November 2015 at 16:01, James Harold <jharo...@gmail.com > > wrote: > > > > BTW, the error is listed here: > > > > 1) Failure: > > StaticPagesControllerTest#test_shoul

Re: [Rails] Re: My program does not work after adding helpler

2015-11-02 Thread James Harold
On Monday, November 2, 2015 at 10:33:32 AM UTC-6, James Harold wrote: > > > > On Monday, November 2, 2015 at 10:18:01 AM UTC-6, Colin Law wrote: >> >> On 2 November 2015 at 16:01, James Harold <jharo...@gmail.com> wrote: >> > >> > BTW,

[Rails] [Help] Need help with first_or_create. Never finds existing Record

2015-11-01 Thread James Davis, PhD
Yeah the sql you posted will not work. First, find the record with @project = current_user.projects.where(id: params[:id]).first_or_initialize and then set the attributes as desired. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To

[Rails] [Help] Need help with first_or_create. Never finds existing Record

2015-11-01 Thread James Davis, PhD
Yeah the sql you posted will not work. First, find the record with @project = current_user.projects.where(id: params[:id]).first_or_initialize and then update as desired. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe

[Rails] My program does not work after adding helpler

2015-11-01 Thread James Harold
I have just gotten to Chapter Four of Michael Hartl's Ruby on Rails Tutorial, and I can't seem to get the program to work after adding a helper to the program. Here is the code from the files. static_pages_controller_test.rb require 'test_helper' class StaticPagesControllerTest <

[Rails] Re: Image Manipulation

2015-11-01 Thread James Derryl
Hi El-abid, Yes there are libraries and different methods to help you with image manipulation. We can achieve this by using ImageMagick. ImageMagick is a software suite to create, edit, compose, or convert bitmap images. We can use ImageMagick to re-size, flip, mirror, rotate, distort, shear

[Rails] Re: RMagick Image text question

2015-11-01 Thread James Derryl
You can use this article on Image Manipulation to clear your query. This article may prove to be of your help. http://www.railscarma.com/blog/technical-articles/image-manipulation/ -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google

[Rails] Using Angular with Rails

2015-10-23 Thread James Davis, PhD
No you do not have to immediately embrace all aspects of angular. My first app with angular only used it for displaying tables. Each subsequent app, I make it more angular and less rails. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.

Re: [Rails] action-mailer 4.2 question regarding custom templates

2015-10-23 Thread 'James B. Byrne' via Ruby on Rails: Talk
il is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail James B. Byrnemailto:byrn...@harte-lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 90

[Rails] Re: CMS in Rails

2015-10-18 Thread James Derryl
Prathiba Danthanarayana wrote in post #835762: > i have got to do a R for CMS in rails. so can someone tell me what is > the best for CMS in rails ? > > cheers, > prathiba. You can use this article to know more about different cms available in rails. These 5 are the best cms in rails.

[Rails] [JOBS] Direct Hire - Remote Ruby-on-Rails Developer

2015-10-13 Thread James Harris
who is currently seeking an exciting and challenging role feel free to pass on my contact details. Kind Regards James +44 (0) 7887 392 607 james.har...@profinda.com Please no agencies -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:

Re: [Rails] Ruby on Rails

2015-10-07 Thread James Jelinek
Two sites that are pretty helpful that have screencasts are railscasts.com (older content but still good) and gorails.com. Check them out and get a feel for the framework. I think you’ll love it! -James > On Oct 7, 2015, at 7:11 AM, Prashant Girennavar <pg8...@gmail.com> wrote: &

Re: [Rails] Ruby on Rails

2015-10-07 Thread James Jelinek
Agreed, railstutorial.org is really good to get started. Thanks for catching this! > On Oct 7, 2015, at 7:23 AM, Colin Law wrote: > > On 7 October 2015 at 13:11, Prashant Girennavar wrote: >> Hello Experts, >> >> I am new to RoR and have knowledge of

Re: [Rails] Generate Report

2015-10-01 Thread James Jelinek
+1 on this! I’ve used Wicked and it worked out really well. I’ve also used prawn to generate PDF reports as well but I sort of lean towards WickedPDF. > On Oct 1, 2015, at 12:55 PM, Andrey Nering wrote: > > A common solution is generating the report in HTML and

[Rails] asking for "@localhost's password"

2015-09-20 Thread James Davis, PhD
Looking at the code on github, db/seeds.rb should have created an admin account with the password: 'password1'. It also created several random user accounts with the same 'password1' password. >From the project root directory, can you run 'rails c' and then 'User.first'? >It should return

[Rails] How to configure git for ruby on rails

2015-09-13 Thread James Davis, PhD
Try 'git init' followed by 'git add .' -- 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+unsubscr...@googlegroups.com. To post to this

Re: [Rails] rails is not recognized as an internal or external command

2015-09-01 Thread James Jelinek
ead, this is a mailing list not a forum (though you may > be accessing it via a forum-like interface). > > Colin I agree. I think the OP is calling ‘ruby -v’ and needs to install the rails gem. I’ve done this before on a fresh system. Should be able to do a “gem install rails” and move on f

Re: [Rails] reg ROR

2015-08-24 Thread James Jelinek
Agreed on all points. One thing to add is, if they are “married” to a Windows environment settings up something like Virtualbox with Ubuntu to use as their development environment might be a good step. + You get to learn some ops stuff along the way. :) -James First work right through

Re: [Rails] I need a ruby on rails developer to review my website and update it

2015-08-17 Thread James Jelinek
Count me in too! I’d love to help you get things done. -James On Aug 17, 2015, at 1:04 AM, Elizabeth McGurty emcgur...@gmail.com wrote: I'd like to help out. How are you going to structure the work effort? Liz McGurty On Sunday, August 16, 2015 at 9:36:38 AM UTC-4, Lonestar wrote

Re: [Rails] I need a ruby on rails developer to review my website and update it

2015-08-16 Thread James Davis, PhD
gvim, I disagree. The website has multiple locations and comedians with changing content. Rails is an appropriate solution. I would be interested in helping update the site. Email me directly: james.davis...@gmail.com. Regards, Jim -- You received this message because you are subscribed

Re: [Rails] Jqcloud-rails

2015-08-14 Thread James Jelinek
I don’t understand either. Can you please rephrase your question? -James On Aug 14, 2015, at 9:43 AM, Colin Law clan...@gmail.com wrote: On 14 August 2015 at 14:56, Daynthan Kabilan dayantha...@gmail.com mailto:dayantha...@gmail.com wrote: Hi, I have bug solving one new project. Here

[Rails] Rigorous discussion on lack of baked-in authentication

2015-07-09 Thread James Davis, PhD
If there were to be a 'backed-in' authentication solution, it would likely be devise or something very devise-ish. I think that would be a little to presumptuous of Rails to force a heavyweight solution upon users. There are existing application generators that bundle devise into a new app's

[Rails] Sending parameters to controller via button_to

2015-07-09 Thread James Davis, PhD
Use a form in the view. The form will 'post' the data to the create method in your controller. This is assuming you have the correct routes. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe from this group and stop

[Rails] Rigorous discussion on lack of baked-in authentication

2015-07-09 Thread James Davis, PhD
If there were to be a 'backed-in' authentication solution, it would likely be devise or something very devise-ish. I think that would be a little too presumptuous of Rails to force a heavyweight solution upon users. There are existing application generators that bundle devise into a new app's

[Rails] Searching in a Tree-Navigation

2015-06-17 Thread James Davis, PhD
Take a look at https://github.com/collectiveidea/awesome_nested_set It is a robust gem that would make traversing your nested tree structure a bit easier. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe from this group

[Rails] i have some error on windows when cmd as rails server

2015-06-09 Thread James Davis, PhD
Can you give a bit more detail? Have you ever been able to successfully run 'rails server' on this windows computer? Was it working before adding the last gem? FYI, very few of us develop in a Windows environment and will not be familiar with Windows specific errors. If you are serious about

[Rails] Help with kaminari

2015-06-08 Thread James Davis, PhD
Try implementing the pagination in an ajax-ish manner. This video is a little old but still relevant http://railscasts.com/episodes/240-search-sort-paginate-with-ajax I use AngularJS for my applications, which accomplishes the single page application feel, but becoming proficient at it is

[Rails] Is Rails 3.0 obsolete?

2015-06-04 Thread James Davis, PhD
Obsolete is a relative term. Would you buy a car when there was no way to obtain replacement parts? As a soldier, I wouldn't want to go into battle with WWII equipmentbut it is better than using Civil War equipment. Rails 3.x was a great version with many improved features but there no

[Rails] Displaying form data, then editing it in place.

2015-05-25 Thread James Davis, PhD
Take a look at the best_in_place gem. It works similiar to what you describe. -- 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

Re: [Rails] 5 Reasons to implement Rails with Angular JS

2015-05-08 Thread James Davis, PhD
Vlad, All development languages and frameworks have their challenges. AngularJS is far from the worst but it does require some expertise to use it. I have implemented it with Rails and was very satisfied. JD -- You received this message because you are subscribed to the Google Groups Ruby

[Rails] Share your experience about the interaction of the backend and frontend

2015-04-09 Thread James Davis, PhD
Ideally, your front end developer would be integrated in the team. If that is not possible, I prefer having the front end work conducted after the application is mostly complete. That way integration could be as easy as dropping in a new css file. -- You received this message because you are

[Rails] Re: Looking to hire a Senior Level Ruby Developer (Ownership offered)

2015-03-25 Thread James Davis, PhD
Kevin, Contact me. I am looking for a new personal project to work on. Thanks, James https://www.linkedin.com/in/jdavisphd On Wednesday, March 25, 2015 at 12:37:46 AM UTC-5, Kevin Lyon wrote: I have a ruby platform that is 90% built by someone very skilled in Ruby. My old partner and I had

[Rails] Re: pass javascript variable to erb code for checking condition

2015-03-11 Thread James Davis, PhD
Take a look at this gem: https://rubygems.org/gems/gon Ryan Bates also did a Railscast about it. -- 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

[Rails] ruby on rails first app creating problem

2015-03-08 Thread James Davis, PhD
Please post the entire error message. While you can develop in Windows, most developers I know use Mac or Ubuntu. If you want to get serious about Rails development, consider switching. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group.

[Rails] Unable to connect Devise User to ProfilesController

2014-12-19 Thread James Davis, PhD
Can you show us the actual error from the console or logs? Also show us the code where you reference profiles_path and profile_path. Without seeing this code for context, try moving 'resources :profiles' to the top of the routes file as Rais uses the first matching route and you may have a

[Rails] [JOBS] Part-time Rails Developer needed for edTech startup

2014-12-04 Thread James Valori
Brix is an early stage start-up based in North London. Our vision is to develop a UK Kahn Academy. A website that provides structured, personalised courses to help students prepare for British Maths exams (and beyond into other subjects!). We believe we are different as a start-up in that we

[Rails] Rails4 - How to design model to save multiple items for a table's column?

2014-11-13 Thread James Davis, PhD
For this situation, you should have User, Language, and UserLanguage models. User :has_many user_languages and :has_many languages :through user_languages. Take a look at Ryan Bates' webcast http://railscasts.com/episodes/17-habtm-checkboxes-revised. It is a bit old but still applies to your

[Rails] Re: Ruby on Rails (ROR) Development Services

2014-10-20 Thread James Davis, PhD
Why would I use a company for Rail development when their own website was written in PHP? Are you primarily PHP development trying to get into Rails? -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe from this group and stop

[Rails] Instant messaging/2 way Chat in Rails

2014-10-02 Thread James Jelinek
I have a Rails 3.2.16 app which tracks calls, vehicles, and patient information. I'd like to implement a two-way chat feature similar to instant messaging where employees can chat with each other via instant message or a chatroom. Preferably instant message style communication. I'd also like the

[Rails] Re: BUY COUNTERFEIT MONEY( angels...@gmail.com )EUROS,DOLLARS,POUNDS ETC

2014-08-24 Thread James Quency
/ angels...@gmail.com / http://buymoneyonline.ucoz.net We are the best producer of HIGH QUALITY counterfeit Banknotes and fake documents. With over a billion of our products circulating around the world. We offer only original high-quality counterfeit currency NOTES and fake documents. We offer

[Rails] BUY COUNTERFEIT MONEY( angels...@gmail.com )EUROS,DOLLARS,POUNDS ETC

2014-08-24 Thread James Quency
/ angels...@gmail.com / http://buymoneyonline.ucoz.net We are the best producer of HIGH QUALITY counterfeit Banknotes and fake documents. With over a billion of our products circulating around the world. We offer only original high-quality counterfeit currency NOTES and fake documents. We offer

Re: [Rails] conditional layout question ? sidebar visible on all pages except the login page.

2014-08-14 Thread James Davis, PhD
Add the folder name where your sidebar partial is located. %= render “layouts/sidebar” unless current_page?(new_admin_session_path) % On Thursday, August 14, 2014 1:16:05 AM UTC-5, Roelof Wobben wrote: then I see this error message ; undefined local variable or method `“sidebar”' for

Re: [Rails] Re: ActiveRecord/Supporty-4.1, undefined method `assertions'

2014-07-30 Thread 'James B. Byrne' via Ruby on Rails: Talk
) message = Expected #{tname} model class but it is not defined assert( ( expected == actual ), message ) end When /should have (?:a|the) table (?:name|call)ed ?(\w+)?/ do |tname| find_table_model_for( tname ) end /pre -- *** E-Mail is NOT a SECURE channel *** James B. Byrne

Re: [Rails] Re: ActiveRecord/Supporty-4.1, undefined method `assertions'

2014-07-30 Thread 'James B. Byrne' via Ruby on Rails: Talk
are no longer blowing up as soon as the feature run starts. It is yet to be determined whether this is a real fix as we have run into some other issues with AR-4.1 vis a vis code that runs fine with AR-4.0. -- *** E-Mail is NOT a SECURE channel *** James B. Byrne

[Rails] Re: Scaling/optimizing a slow ruby on rails application.

2014-07-23 Thread James Davis, PhD
On Tuesday, July 22, 2014 9:59:56 PM UTC-5, Michael Solovyov wrote: Hi everyone, My name is Michael Solovyov and I'm the co-founder CTO of a rails-based start-up. We have built a product for other businesses to help their users adopt their products. We've built the

Re: [Rails] Can I do %=.% interpolation without getting a p tag?

2014-07-07 Thread James Turley
This is an effect of using the simple_format method: http://api.rubyonrails.org/classes/ActionView/Helpers/TextHelper.html#method-i-simple_format Returns text transformed into HTML http://api.rubyonrails.org/classes/HTML.html using simple formatting rules. Two or more consecutive newlines(\n\n)

Re: [Rails] Re: Can I do %=.% interpolation without getting a p tag?

2014-07-07 Thread James Turley
if you change js_unhide_idstrings.join(',') to js_unhide_idstrings.join(',').html_safe that should decode the entities. On Mon, Jul 7, 2014 at 10:50 AM, Ronald Fischer li...@ruby-forum.com wrote: If you just want to print out the bare text, you can just put that in your erb tag: %=

[Rails] Re: How can I do disable email delivery in development mode?

2014-06-25 Thread James Davis, PhD
On Monday, June 23, 2014 4:41:54 AM UTC-5, Ruby-Forum.com User wrote: Is it any way to do disable email delivery in development mode? Kind regards. -- Posted via http://www.ruby-forum.com/. Take a look at this Railscast - http://railscasts.com/episodes/61-sending-email-revised It

[Rails] Re: Validating a boolean non-database addition to a model

2014-06-08 Thread James Kwame
What exactly are you trying to achieve with this approach, why do you need to have the second attr not in the database and validated? To answer your question, yes you can force it to be a boolean, by creating your own accessor methods Instead of attr_accessor :attrvalue def attrvalue

[Rails] Need mapping recommendations

2014-06-03 Thread James Davis, PhD
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

Re: [Rails] Need mapping recommendations

2014-06-03 Thread James Davis, PhD
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 will take an array of points and place them on the map for you as markers. Walter On Jun 3, 2014, at 11:57 AM, James Davis, PhD wrote: I need to add geo location

Re: [Rails] Need mapping recommendations

2014-06-03 Thread James Davis, PhD
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

Re: [Rails] Need mapping recommendations

2014-06-03 Thread James Davis, PhD
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

[Rails] How to make the tests pass in an elegant way? Ruby on Rails

2014-05-28 Thread James M.
I am writing a rails app with my colleague who wrote a lot of the tests. He had to take a leave of absence due to a death in his family, and I am needing helps with changing the model so that the tests will pass in our spec file. Here is the model: class Worker ActiveRecord::Base

[Rails] ERROR installing documentation while gem install rails (Win7 Rails 1.9.3)

2014-05-09 Thread James Jensen
Using Windows 7 Professional Loaded Ruby v1.9.3p545 (2014-02-24) [i386-mingw32] Installed dev kit (C:/Ruby193/lib/ruby/site_ruby/devkit.rb) Tried to install rails at this point with gem install rails. Process died and received the following error while installing docs: ERROR: While generating

Re: [Rails] Re: Jquery + Rails

2014-05-08 Thread James Davis, PhD
jQuery is very much integrated with Rails. Try looking at Micheal Hartl's tutorial and completely work through it. You need the basics of the framework, coffeesript, and how it comes together. In general, you should not be using script in your views. -- You received this message because you

[Rails] collection_check_boxes with has_many through: association Rails 4

2014-04-08 Thread James Davis, PhD
http://railscasts.com/episodes/17-habtm-checkboxes-revised Here is a railscast where Ryan Bates uses HABTM to accomplish what you ask. It shouldn't be to difficult to adopt his logic for 'has many through'. -- You received this message because you are subscribed to the Google Groups Ruby on

[Rails] NoMethod error. rediredct_to undefined

2014-04-06 Thread James Davis, PhD
Show us the contents of your config/routes.rb. From the error, it looks like you are using a redirect in that file which is not correct. Redirect logic should go elsewhere. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe

[Rails] Re: Activity streams/News feeds with Aggregation, MySQL and Redis support

2014-03-25 Thread James Davis, PhD
http://railscasts.com/episodes/406-public-activity Is this what you want to accomplish? He uses the public activity gem. -- 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,

[Rails] Re: If you were to code a marketplace app like AirBnB today, what technology stack would you use?

2014-03-25 Thread James Carrasquer
at http://jimcar.github.io I'd very much appreciate any feedback from the ruby community. Thanks in advance, James -- 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 unsubscribe from this group

  1   2   3   4   5   6   7   8   >