Re: [Rails] multiple nginx passenger processes!?

2017-06-14 Thread Scott Jacobsen
Yes. On Jun 14, 2017 12:29 PM, "tom" wrote: > hi, when i look into my running processes, i can see multiple processes > like this one > > Passenger RubyApp: /rorapps/fooo/production/f_com/current/public > (product > > > each with 400-500mb memory consumption > > is this

[Rails] Re: devise_token_auth in --api application - sign_in action doesn't work after second deploy on heroku

2017-05-19 Thread Scott Jacobsen
IndexError (string not matched) is not a database error. Your data is probably fine, but you can run `heroku run console` and check your user records. IndexError often comes up when your code treats a string as a hash, but there isn't enough information here to see what's going on. Is there a

Re: [Rails] Idiomatic Ruby

2017-04-01 Thread Scott Jacobsen
, "Leandro TK" <leandrotk...@gmail.com> wrote: > Hey Scott, > > You're absolutely right. If we want to ask an array if it is empty, we can > use the *.empty?* method. But if we want to ask if the array has *any*thing > inside it, we can use *.any?* method :) > > > >

Re: [Rails] Idiomatic Ruby

2017-04-01 Thread Scott Jacobsen
Nice post. But you shouldn't use any? to test if a collection is empty. To see why try it on this array: [nil, false] and read the docs. Use empty? to test if an array is empty. On Apr 1, 2017 12:02 AM, "Leandro TK" wrote: > Hello guys, > > > As all of you, I think Ruby

Re: [Rails] SN site, Profile model?

2017-03-15 Thread Scott Jacobsen
The most common mistake in rails apps is creating a user object that does way too much. People call it "the God object". Just because a user only has one profile doesn't mean you need to combine those models. On Mar 14, 2017 8:52 PM, "fugee ohu" wrote: On Tuesday, March

[Rails] Re: button_to (passing paramters again)

2017-02-15 Thread Scott Jacobsen
Controller action methods do not take parameters. You get the parameters from the `params` hash. Also, as was mentioned, do not send user_id as a param. It is a security error, and you don't need to because you can access the session in the controller: def add_to_cart product_id =

Re: [Rails] Going through /getting_started.html — stuck on step 5.10 "Validation" and "render 'new'"

2017-02-05 Thread Scott Jacobsen
Yes, this is the default behavior. When you post invalid data it renders rather than redirects. One reason is this way you don't need to maintain state across the redirect. On Feb 5, 2017 3:01 PM, "Hassan Schroeder" wrote: > On Sat, Feb 4, 2017 at 1:18 PM, Denis K

Re: [Rails] how do you pass paramters from a button in rails?

2017-02-04 Thread Scott Eisenberg
You can put the parameters as an argument to a path like so: =link_to "Add Special", add_special_path(work_day: @date), class: 'uk-button buffer-left-twice’ which will make a url like http://xxx.com/time/add_special?work_day=2017-02-04 Or

Re: [Rails] Re: Can't say "Hello World"

2016-12-25 Thread Scott Jacobsen
My best guess since it is an execjs error is you don't have a javascript runtime installed. Be sure you have one of the execjs supported runtimes installed. https://github.com/sstephenson/execjs On Dec 25, 2016 6:04 AM, "Colin Law" wrote: > On 25 December 2016 at 12:28, Ad

Re: [Rails] Caching and .includes()

2016-12-07 Thread Scott Jacobsen
On Sun, Dec 04, 2016 at 11:35:38AM -0800, Brian Christian wrote: > I’ve noticed that in my applications I often have to choose between the > efficiency of caching and the efficiency of the .includes() method, and I’m > wondering if these two are mutually exclusive. Am I doing something wrong? > >

Re: [Rails] Is webrick server single thread?

2016-11-16 Thread Scott Jacobsen
It is single threaded. Puma is a good multithreaded server if you want that. On Nov 16, 2016 4:05 AM, "Tsolmon Narantsogt" wrote: > Hi All. > > Webrick server is single threaded or multiple thread? > > how to check it? > > Thanks > Tsolmon > > -- > You received this message

Re: [Rails] Very strange behavior of rails assets

2016-11-15 Thread Scott Jacobsen
Be sure you are running in production mode by setting the RAILS_ENV environment variable to production. On Nov 15, 2016 5:35 AM, "Karthikeyan A K" <77mi...@gmail.com> wrote: > Hello People, > > I have just deployed an app on Ubuntu 14.04, Rails 5.0.x, Puma, Nginx. > Even though I have

Re: [Rails] Rails continuos integration

2016-10-26 Thread Scott Jacobsen
On Wed, Oct 26, 2016 at 06:37:13AM -0700, Vivek Vvk wrote: > yes, thats more of a deployment tool. I am able to deploy my rails app in a > continuos manner right now. I just want to know if my approach is rite and > if there is any specific build techniques for rails app. Currently, I just > pull

[Rails] Figuring Out How To Access Methods

2016-07-01 Thread Scott Le gendre
I have an advertiser model and an experiment model. I've setup the associations as follows: Advertiser has_many :experiments Experiment belongs_to :advertisers The experiments table has a column titled "experiment_type", which can either be AOV or Conversion. I am trying to display experiments

[Rails] Re: Simple Database Migration

2016-05-02 Thread Kane Scott
Thank you I will do that. Kane -- 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 and stop receiving emails from it, send an email to

[Rails] Simple Database Migration

2016-05-01 Thread Kane Scott
I am very new to Ruby and need to do a simple database migration. I have a table in my database called data_sources and I need to update record id 3 field systems from Fusion to Fusion,Matrix. I had ruby auto create the file but then I just got lost. class UpdateDataSourcesGlvarSystems <

Re: [Rails] Major update to Rails Assets

2016-04-28 Thread Scott Eisenberg
hassle, so it's definitely a plus for > us as well. > > On Wednesday, April 27, 2016 at 1:24:16 PM UTC-4, Scott Eisenberg wrote: > I’d donate if there was a paypal options. Not too keen on putting in my > credit card to a random site, no matter how trustworthy I *think* you all

Re: [Rails] Major update to Rails Assets

2016-04-27 Thread Scott Eisenberg
I’d donate if there was a paypal options. Not too keen on putting in my credit card to a random site, no matter how trustworthy I *think* you all might be. Nice looking pop-up box though. > On Apr 27, 2016, at 11:57 AM, Josh Jordan wrote: > > Hi all! > > Just wanted

[Rails] Ruby/Rails Engineer needed

2016-02-09 Thread Scott Dunklee
We are looking for a Full-Stack Senior Ruby developer responsible for building and supporting our many Ruby applications. Your primary responsibility will be to design and develop these applications, and to coordinate with the rest of the team working on different layers of the

Re: [Rails] How to filter result dainamically in ruby on rails

2016-01-29 Thread Scott Eisenberg
Add some scopes to your model http://guides.rubyonrails.org/active_record_querying.html#scopes http://api.rubyonrails.org/classes/ActiveRecord/Scoping/Named/ClassMethods.html

Re: [Rails] Gem::Load error

2016-01-25 Thread Scott Eisenberg
How about giving us the output of bundle list? Or at the very least bundle list pg? PS If you see pg listed there you’re gonna have to give more information like the stacktrace, error messages in the server window, your database.yml file. If you want help at least give us a fighting chance...

Re: [Rails] Gem::Load error

2016-01-25 Thread Scott Eisenberg
What specifically is the OS here. I’m not certain I recognize the icons on the dock. > On Jan 25, 2016, at 5:35 PM, Benyamin Pm <li...@ruby-forum.com> wrote: > > Colin Law wrote in post #1180889: >> On 25 January 2016 at 22:13, Benyamin Pm <li...@ruby-forum.

Re: [Rails] Gem::Load error

2016-01-25 Thread Scott Eisenberg
Also what version of Ruby are you running? This might be a good place to also look for help: https://bitbucket.org/ged/ruby-pg/issues?status=new=open > On Jan 25, 2016, at 8:44 PM, Scott Eisenberg <sco...@btrtrucks.com> wrote: > > What specifically is the OS here. I’

Re: [Rails] How fast a PHP Developer can learn Ruby on Rails

2015-12-16 Thread Scott Eisenberg
015, at 3:38 PM, Scott Eisenberg <sco...@btrtrucks.com> wrote: > > If you really just start from a tutorial and get going you can get a > serviceable project up - and understood - in about a week. > > The development environment can be a little tricky starting out and

Re: [Rails] Re: How fast a PHP Developer can learn Ruby on Rails

2015-12-16 Thread Scott Eisenberg
If you really just start from a tutorial and get going you can get a serviceable project up - and understood - in about a week. The development environment can be a little tricky starting out and may take a day or two. Or it could take an hour if you get the right tutorials. Some of the

Re: [Rails] Hash table

2015-12-16 Thread Scott Eisenberg
Looks to me like you will have an Array of hashes. The ruby way something like a single line array select t.select{|tt| a.between?(tt[:min], tt[:max]) && b.between?(tt[:b_min], tt[:b_max])} create the array initially with something like t = Array.new t << {a_min: 1, a_max:10, b_min: 100,

Re: [Rails] Static pages from Rails erb templates?

2015-11-04 Thread Scott
Please ignore the snarky comment at the end of the last comment and the stuff about just or putting in the public directory. I re-read your comment on Middleman and got a better feeling for what you are trying to do. The snark was me being out of my mind. Back on topic how dynamic is the erb

Re: [Rails] Static pages from Rails erb templates?

2015-11-04 Thread Scott
I don't think you can use erb in public. I don't think they'd be parsed to html outside of the app area. -- 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] Static pages from Rails erb templates?

2015-11-04 Thread Scott
It's not complicated. Install the gem. Create a directory. Use page_path route with the file name to generate links. I'm not sure how you get simpler than that. If you want a non rails way, put the pages in the public directory. Seems like you could have been finished with either high

Re: [Rails] Static pages from Rails erb templates?

2015-11-02 Thread Scott Eisenberg
Maybe high voltage gem will work for you. https://github.com/thoughtbot/high_voltage > On Nov 2, 2015, at 9:01 AM, gvim wrote: > > Is there a way to have static content generated from Rails templates without > going through the

Re: [Rails] Hi, I just started learning about an hour a go and already need help. :-)

2015-09-11 Thread Scott Ribe
or precedence". Multiplication & division have higher precedence than addition & subtraction, is the answer to your immediate question. But you really should google and look at all the precedence categories. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/

Re: [Rails] Ruby on Rails experts in India

2015-09-08 Thread Scott Ribe
vailable free online; you can also purchase screencasts. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk&q

[Rails] Re: Rails foreign keys and associations: when to denormalize?

2015-08-17 Thread Scott Goci
don't see that you have a Classes, the school variety, table. Liz On Monday, August 17, 2015 at 1:18:38 AM UTC-4, Scott Goci wrote: I've been wrestling with database normalization and the Rails Way and I wanted to get peoples opinions as to if there's a best practices guide to how to do

[Rails] Rails foreign keys and associations: when to denormalize?

2015-08-16 Thread Scott Goci
I've been wrestling with database normalization and the Rails Way and I wanted to get peoples opinions as to if there's a best practices guide to how to do it. Here's some background: Let's assume we have a model/schema similar to the following: class Student ActiveRecord::Base has_many

Re: [Rails] Reading data from request body

2015-08-08 Thread Scott Ribe
developing. So getting comfortable with debugging those issues is a good thing ;-) -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you are subscribed to the Google Groups

Re: [Rails] Multiple Rails versions, multiple database sources, and mutiple gem versions

2015-08-08 Thread Scott Jacobsen
I would use a different VM for each project, and use Vagrant to manage those VMs. There are lots of resources related to using Vagrant to manage rails dev environments. Here is one good screen cast https://gorails.com/guides/using-vagrant-for-rails-development. -- You received this message

Re: [Rails] Survey/Question/Answer validation with fields_for?

2015-08-01 Thread Scott Goci
).permit(:response_text).merge(user_id: current_user.id) end On Fri, Jul 31, 2015 at 4:37 AM, Colin Law cla...@gmail.com javascript: wrote: On 30 July 2015 at 23:06, Scott Goci sco...@gmail.com javascript: wrote: At the end of my email, I do just that -- you notice that in the params I

Re: [Rails] Re: Rails Advance query CASE WHEN method not working

2015-07-31 Thread Scott Ribe
. Or can you tell me how to right exact query where I can get the result like case when and then . I answered that question; the fact that you don't like the answer is your problem, not mine. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com

Re: [Rails] How to Convert mysql query into Rails ORM?

2015-07-31 Thread Scott Ribe
... -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- 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

Re: [Rails] How to Convert mysql query into Rails ORM?

2015-07-31 Thread Scott Ribe
makes sense, in the other it is in the where clause, which does not make sense. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you are subscribed to the Google Groups

Re: [Rails] Rails Advance query CASE WHEN method not working

2015-07-31 Thread Scott Ribe
that, then stick with find_by_sql because AREL's join method is never going to be able to cope with that structure. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you

Re: [Rails] What JS framework would be your first choise in Rails World 2015

2015-07-31 Thread Scott Ribe
be: is Rails right for the SPA web apps of 2015?) -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group

Re: [Rails] What JS framework would be your first choise in Rails World 2015

2015-07-31 Thread Scott Ribe
over data, instead of rendering pages. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe

[Rails] Survey/Question/Answer validation with fields_for?

2015-07-30 Thread Scott Goci
Imagine we had a basic survey application (Rails 4.2 with Devise) similar to the following: class User ActiveRecord::Base # Assume devise user here has_many :user_surveys has_many :surveys, through: :user_surveys has_many :responses end class UserSurvey ActiveRecord::Base

Re: [Rails] Survey/Question/Answer validation with fields_for?

2015-07-30 Thread Scott Goci
method of doing it. On Thursday, July 30, 2015 at 5:19:35 PM UTC-4, Colin Law wrote: On 30 July 2015 at 21:44, Scott Goci sco...@gmail.com javascript: wrote: ... My main question revolves around the following line (under fields_for responses): %= r.hidden_field :user_id

Re: [Rails] Handling Hot Data with ActiveRecord

2015-07-23 Thread Scott Ribe
mail list, and we can talk about how to maintain a summary table without going through the hassle of full-on sharding ;-) -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you

Re: [Rails] Best practices with migrations in production deployments

2015-07-23 Thread Scott Ribe
there. Review the SQL executed by the migration. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group

Re: [Rails] Best practices with migrations in production deployments

2015-07-23 Thread Scott Ribe
are a convenience for projects where the db is managed entirely within the scope of a rails app. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you are subscribed

Re: [Rails] Handling Hot Data with ActiveRecord

2015-07-23 Thread Scott Ribe
On Jul 22, 2015, at 11:27 PM, Mohit Sindhwani mo_m...@onghu.com wrote: Hi Scott, On 23/7/2015 11:54 AM, Scott Ribe wrote: On Jul 22, 2015, at 9:10 PM, Mohit Sindhwani mo_m...@onghu.com wrote: We have tried this and the query is quite a bit slower. Filtering to the last 900k records

Re: [Rails] Handling Hot Data with ActiveRecord

2015-07-22 Thread Scott Ribe
doesn't affect anything, but just another sign that the person writing the query did not understand it). -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you are subscribed

Re: [Rails] Handling Hot Data with ActiveRecord

2015-07-22 Thread Scott Ribe
how THAT query would have better fit my description of being poorly constructed. I'm glad that my somewhat off-base pontification still managed to point you in a useful direction! -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303

Re: [Rails] Mailchimp or alternatives

2015-07-21 Thread Scott Ribe
. You probably need to back up and provide us more info about what you're doing and the exact error message. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you are subscribed

Re: [Rails] Mailchimp or alternatives

2015-07-21 Thread Scott Ribe
know that's wrong--something else for you to check. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group

Re: [Rails] How to update feed using ajax in Rails 4.0

2015-07-17 Thread Scott Ribe
. So, two questions. Are you sure your AJAX post creates @feed_items? And do you understand what data is available to partials? (Hint, that second question is important, because partials do not get rendered in the same environment with the same object available.) -- Scott Ribe scott_r...@elevated

Re: [Rails] application playback module

2015-07-15 Thread Scott Ribe
to attempt to do that in Rails. You need to do it in the database, so that the audit log cannot be circumvented merely by making changes without going through your Rails app. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722

Re: [Rails] Rails 4 - Ajax form adding a new record instead of editing the current record

2015-07-07 Thread Scott Ribe
but it doesn't update the Student. First, what's set up in your routes? Second, what does the controller dispatched to actually do? -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because

Re: [Rails] How can i hide the params in browser url?

2015-07-06 Thread Scott Ribe
. (I suppose that if the name were unique per logged-in user, you could use something from the session to search for smith per user, but it doesn't seem like that's what you're asking either.) -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com

Re: [Rails] Failure Reference: Expected response to be a redirect, but was 200

2015-06-24 Thread Scott Ribe
-- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- 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

Re: [Rails] Wondering regarding: how to get the [gender] reference?

2015-06-15 Thread Scott Ribe
please, let's not turn the simplest of bugs into a debate on gender politics. There is simply no single convention that will suffice for all contexts. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You

Re: [Rails] password migration

2015-06-07 Thread Scott Ribe
inputs...) -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- 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

Re: [Rails] Using CSV and STDIO?

2015-06-05 Thread Scott Ribe
On Jun 5, 2015, at 12:12 PM, j...@via.net wrote: Any thought? Like the error message says: Unquoted fields do not allow \r or \n (line 1). (CSV::MalformedCSVError) -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567

Re: [Rails] How to generate Rails models from database schemas

2015-06-05 Thread Scott Ribe
and what might need to be done with them in your models or controllers. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you are subscribed to the Google Groups Ruby

Re: [Rails] Scope and precedence of CSS definitions?

2015-06-05 Thread Scott Ribe
of data. Really just depends on what's a better fit for your application design... -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you are subscribed to the Google Groups Ruby

Re: [Rails] Using CSV and STDIO?

2015-06-05 Thread Scott Ribe
not (directly) related to whether the data is coming from a file vs stdio. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you are subscribed to the Google Groups Ruby on Rails

Re: [Rails] How to generate Rails models from database schemas

2015-06-04 Thread Scott Ribe
with it in a controller. Why on earth would you keep re-generating scaffolds over and over??? A scaffold is a starting point; it is not your app code. People have told you (over and over) that you do not maintain Rails apps by generating re-generating scaffolds. -- Scott Ribe scott_r...@elevated

Re: [Rails] How to generate Rails models from database schemas

2015-06-04 Thread Scott Ribe
: You can manage your database schema using Rails migrations, or you can manage it completely outside of Rails. Either option is pretty easy, while a mishmash combination of the two is not so easy. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com

Re: [Rails] How to generate Rails models from database schemas

2015-06-04 Thread Scott Ribe
through 4 were unnecessary. You can manage your database schema using Rails migrations, or you can manage it completely outside of Rails. Either option is pretty easy, while a mishmash combination of the two is not so easy. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated

Re: [Rails] Sort hash in model

2015-05-29 Thread Scott Ribe
to be able to insert items into an OrderedHash in sort order. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group

Re: [Rails] Fail to use statement IF in Selenium (With Ruby)

2015-05-28 Thread Scott Ribe
On May 28, 2015, at 6:15 AM, Rafael s rafaelc...@gmail.com wrote: I want to just make one condition: IF find the button...clicks, else continues execution of the other methods If the button doesn’t exist, you’re calling displayed? on it anyway. -- Scott Ribe scott_r...@elevated-dev.com

Re: [Rails] How to generate Rails models from database schemas

2015-05-22 Thread Scott Ribe
if it doesn’t follow RoR conventions. But really, the answer to your question is not just “yes”, it’s “yes and it’s so easy that you’re completely missing it by looking for something harder” ;-) -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com

Re: [Rails] /usr/bin/env: ruby: No such file or directory

2015-05-18 Thread Scott Ribe
actually works—because what you’ve posted in your email certainly wont’ (spaces in the path to your project). -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you

Re: [Rails] /usr/bin/env: ruby: No such file or directory

2015-05-18 Thread Scott Ribe
On May 18, 2015, at 7:26 AM, Douglas Leonardo li...@ruby-forum.com wrote: /usr/bin/env:ruby Space, not colon. /usr/bin/env is a command, ruby is an argument to that command. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303

Re: [Rails] Get all site tree with Ruby

2015-05-12 Thread Scott Ribe
link #normalize the link #if link not already visited #add link to table of visited links get_subtree(link) #end #end end -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You

Re: [Rails] Cloud9 not creating files and directories the rails command should create

2015-05-11 Thread Scott Ribe
On May 11, 2015, at 9:10 AM, Roman roman.rai...@gmail.com wrote: Hi Chris, thanks for your response. No file tree from the terminal either: Sure looks like you’re running rails new in ~/, then looking in ~/workspace. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com

Re: [Rails] Cloud9 not creating files and directories the rails command should create

2015-05-11 Thread Scott Ribe
On May 11, 2015, at 10:57 AM, Roman roman.rai...@gmail.com wrote: I'm an idiot. We all go down a path like that once in a while ;-) Especially when first learning a new system and trying to keep so many things straight at once… -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated

Re: [Rails] Connecting SQL Server and Rails 4.2.1

2015-05-05 Thread Scott Ribe
) In the future, please just copy and paste errors rather than sending us off to a website with a screen capture. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you are subscribed

Re: [Rails] Connecting SQL Server and Rails 4.2.1

2015-05-05 Thread Scott Ribe
On May 5, 2015, at 11:55 AM, Scott Ribe scott_r...@elevated-dev.com wrote: 2) Once you have that installed, then yes, that single .yml file is the only one you need to modify. I probably should have qualified that statement—it’s the only thing directly related to Rails that you need

Re: [Rails] Newbie question : error when trying to use mysql instead of sqlite

2015-05-01 Thread Scott Ribe
to connect—but I’m not sure. Have you checked in Task Manager whether there is any pg process running? -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you are subscribed

Re: [Rails] Newbie question : error when trying to use mysql instead of sqlite

2015-05-01 Thread Scott Ribe
, so it seems prudent to ask. (The Ruby gem is just the adapter to allow Rails to access MySQL, it doesn’t install MySQL for you.) -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message

[Rails] Rail Advice Needed

2015-04-24 Thread Scott O'Neill
will be appreciated, Scott -- 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 rubyonrails

[Rails] Re: Rail Advice Needed

2015-04-24 Thread Scott O'Neill
and others. The owner is okay with upgrades and changes, security is definitely a consideration and I understand the newer versions could be a difficult task, thanks for the input.. On Friday, April 24, 2015 at 10:02:16 AM UTC-5, Scott O'Neill wrote: Hello, I am new to rails and need

Re: [Rails] Génération aléatoire de doc et vue.

2015-04-15 Thread Scott Ribe
on a single page, or separate pages which the user accesses one after the other but using the same controller? -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you

Re: [Rails] Génération aléatoire de doc et vue.

2015-04-15 Thread Scott Ribe
of the underlying model, and that any RoR questions you may have other than creating the mode will be relatively simple. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you

Re: [Rails] Emails Not Sending

2015-04-14 Thread Scott Ribe
that, all we can do is make wild guesses, whereas with that there's a decent chance someone will be able to tell you exactly what the problem is. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You

Re: [Rails] dl is deprecated plz use fiddle

2015-04-07 Thread Scott Ribe
having a problem with installation of ruby on rails on windows. pleaze is there any help for this ? Google the error. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you

Re: [Rails] Object Service instance

2015-04-01 Thread Scott Ribe
there, if that's your actual code... -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe from

[Rails] Deviget is looking for Senior Ruby/Rails Engineers in South America

2015-04-01 Thread 'Scott Dunklee' via Ruby on Rails: Talk
As Senior Ruby on Rails Developer you will work on the most exciting projects. You will occupy a role as the subject matter expert on Ruby and will have unmatched opportunities to lead and architect a project. Tasks: Implementation of oauth2 authentication and an event system (through

Re: [Rails] Generate MS Word files in Rails

2015-03-26 Thread Scott Ribe
.) -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- 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

Re: [Rails] Generate MS Word files in Rails

2015-03-25 Thread Scott Ribe
and feature-light. The specification of the docx format is over 7,000 pages--simple and complete are incompatible goals when dealing with docx. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received

Re: [Rails] PRB RAILS (I am a beginner)

2015-03-25 Thread Scott Ribe
you have not yet installed. So the StackOverflow question you were referred to before does have your answer, but not directly at the top. Look for the answer part way down the page from Williams. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com

Re: [Rails] Modeling customer/supplier roles.

2015-03-24 Thread Scott Ribe
in a broker type business line, where it's common to both buy sell from the same companies, this is a huge annoyance. As for company vs person, I don't have a terribly strong opinion to offer about 1 model with attribute vs 2 models with inherited base. -- Scott Ribe scott_r...@elevated-dev.com

Re: [Rails] Modeling customer/supplier roles.

2015-03-24 Thread Scott Ribe
On Mar 24, 2015, at 8:08 AM, Scott Ribe scott_r...@elevated-dev.com wrote: On Mar 24, 2015, at 8:04 AM, Leandro França leandroayresfra...@gmail.com wrote: Any advices? Don't make customers suppliers separate models/tables. Make them attributes of a single model. It seems

Re: [Rails] which Gem To Used For Building A Site Like Mediafire

2015-03-23 Thread Scott Ribe
On Mar 23, 2015, at 7:00 AM, Edward Maya li...@ruby-forum.com wrote: i know my english i bad Your English is fine. What's bad is your continued unwillingness to look at the resources you've been referred to. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ https

Re: [Rails] which Gem To Used For Building A Site Like Mediafire

2015-03-22 Thread Scott Ribe
you to the correct documents, rather than spoon-feeding excerpts to you, is not flaming. Demanding to be spoon-fed the exact code you need to write, the complaining about being told what documentation to read, is ridiculous. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com

Re: [Rails] Problem with a simple open-uri request

2015-03-11 Thread Scott Ribe
On Mar 11, 2015, at 8:46 AM, Nicolò Benigni li...@ruby-forum.com wrote: getaddrinfo: Name or service not known So it's unable to resolve the host name. Either you've got the name wrong, or there's something in your OS config preventing it from being resolved correctly. -- Scott Ribe scott_r

Re: [Rails] Coalesce (ruby method, not a SQL question)

2015-03-04 Thread Scott Ribe
-presence -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- 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

Re: [Rails] Ajax 404 not found

2015-03-02 Thread Scott Ribe
. (In particular, you may have defined a route that only responds to GET, and now you're tying to POST to it.) -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk

Re: [Rails] Now hiring - Senior Ruby on Rails Engineer

2015-02-13 Thread Scott Ribe
guess where this company is located, and/or whether they'd be OK with remote work... -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group

Re: [Rails] Installing ruby 2.1 and rails 4.2 in centos 7

2015-01-26 Thread Scott Ribe
::RuntimeUnavailable) That's the error you need to address. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- 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] mystery encoding problem sending email

2015-01-20 Thread Scott Ribe
? -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- 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

  1   2   3   4   5   6   >