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

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] 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

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

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

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

Re: [Rails] Inline attachments appear as downloadables

2015-01-16 Thread Scott Ribe
link you posted. Also, have you examined the actual email raw source as delivered? Even after get the image properly encoded inline, it's up to the email client whether or not it decides to actually display it inline. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303

Re: [Rails] Link To New Association

2015-01-15 Thread Scott Ribe
the back button to get to a hospitalization for a different patient? I'd think that patient_id for a new hospitalization ought to go into a hidden field in the form. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- You received this message because

Re: [Rails] CPU utilisation spikes to 100% on Rails application startup on ARM platform

2015-01-12 Thread Scott Ribe
for a fraction of the time and you don't see it. ARM is simply a much slower processor. -- 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

Re: [Rails] how to display a clock time counter.

2015-01-11 Thread Scott Ribe
or Rails. It will purely be Javascript executing in the browser. http://www.w3schools.com/js/js_timing.asp -- 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

Re: [Rails] how to display a clock time counter.

2015-01-11 Thread Scott Ribe
is what you need in order to increment a counter periodically. -- 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

Re: [Rails] How find ruby on rails app client mac address?

2015-01-06 Thread Scott Ribe
with your server. You'll only get a gateway 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

Re: [Rails] Has anyone heard of this Ruby project?

2015-01-04 Thread Scott Ribe
anything. And nobody here objects to anyone who peddles their stuff honestly. -- 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

Re: [Rails] Database Testing in Rails

2015-01-04 Thread Scott Ribe
to verify consistency, feel free to ignore that advice and skip the staging tables. I just wanted to point out that you really don't have to be bound by the structure of what you get. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- You received

Re: [Rails] Ruby code Injectors: Closures as Modules: Jackbox

2014-12-29 Thread Scott Ribe
seem to be a bit unclear on what exactly that means... -- 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

Re: [Rails] Rails routing question

2014-12-06 Thread Scott Ribe
the action that displays an edit form with the action that's run when the form is submitted? That what you really want to do is redirect to edit? -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- You received this message because you

Re: [Rails] Display all values in the show.html.erb originally selected in the form.

2014-12-02 Thread Scott Ribe
are the first place to look for where did my data go questions, because that's where you figure out whether the form is not configured to submit the data correctly, or whether the problem is in how you're handling the data--is the problem in the form or the controller. -- Scott Ribe scott_r

Re: [Rails] Display all values in the show.html.erb originally selected in the form.

2014-12-02 Thread Scott Ribe
On Dec 2, 2014, at 12:00 PM, Scott Ribe scott_r...@elevated-dev.com wrote: Note what's different in your form between appt_completion and other input elements: you're using plain tag helpers instead of the form methods, radio_button_tag instead of f.radio_button, which means

Re: [Rails] Display all values in the show.html.erb originally selected in the form.

2014-12-02 Thread Scott Ribe
, patient_id=8, reason=fdsdfs, appointment_date(1i)=2014, appointment_date(2i)=12, appointment_date(3i)=3, diagnostic_code_id=1, notes=sdfsdfs, appt_completion=true }, appointment_time={ test=7 }, commit=Create Appointment } -- Scott Ribe scott_r

Re: [Rails] Display all values in the show.html.erb originally selected in the form.

2014-12-01 Thread Scott Ribe
at their names ids. -- 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] Concurrency in Ruby on Rails 4

2014-11-20 Thread Scott Ribe
in the browser, are all separate issues. So: lots of clients? busy clients? large requests? large database backing the site? large or complex assets? complex processing of requests? complex browser rendering? -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice

Re: [Rails] Rake tasks

2014-11-19 Thread Scott Ribe
of someone trying to comment out something to hard-wire @verbose to one value or the other... -- 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] Rake tasks

2014-11-19 Thread Scott Ribe
earlier, what about for this 1.9.3, anything available to help? Maybe I missed something earlier in the discussion, but can't you just edit it to: @verbose = true if arg == 'V' -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- You received

Re: [Rails] Problems with Instance Variable in Controllenr

2014-11-05 Thread Scott Ribe
realize instance variables are not carried forward from one action to another? They have to be set up on each request. -- 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

Re: [Rails] One huge table or separate tables? design issue

2014-10-15 Thread Scott Ribe
is related. Figure out that entity, design it, set up the relationship appropriately between the two. -- 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] Posting rails application online

2014-10-12 Thread Scott Ribe
as you need the command prompt to run the server. There are many hosting services for RoR, and some have limited free accounts for personal use. Heroku is a very popular one. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- You received

Re: [Rails] Scaffold to SQLServer

2014-10-04 Thread Scott Ribe
perfectly possible to create and maintain your schema as you always have, and use Rails to access 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] Connecting to SQLServer

2014-10-04 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

Re: [Rails] mobile development on ruby

2014-08-25 Thread Scott Ribe
of the web site is that it runs on *anything*, Linux/*BSD, ChromeBooks, Windows, OS X. -- 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

Re: [Rails] Issues with catenating the results of two queries + will_paginate

2014-08-16 Thread Scott Ribe
not have get code duplication from that approach. -- 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

Re: [Rails] how to get a form's id?

2014-08-05 Thread Scott Ribe
need to implement this logic in a helper(?) or something. Re-implementing would completely defeat the purpose of not using my own id, so I'll just use my own. Thanks for the pointer to the implementation. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice

Re: [Rails] can not redirect to nil

2014-08-04 Thread Scott Ribe
things become different than what you expect. -- 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

[Rails] how to get a form's id?

2014-08-04 Thread Scott Ribe
surprised that I could not find anything in the docs or forums. (RoR 3.2, BTW.) -- 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

Re: [Rails] Variable + string to specify variable

2014-07-31 Thread Scott Ribe
be good for your learning to understand that you could also use: arrays = [[], [], []] And, if you wanted a set of arrays that you access by string instead of int: arrays = {'one' = [], 'two' = [], 'three' = []} arrays['one'].push(42) puts arrays['one'][0] -- Scott Ribe scott_r...@elevated-dev.com

Re: [Rails] Variable + string to specify variable

2014-07-29 Thread Scott Ribe
= Array.new arr2 = Array.new arr3 = Array.new selected_array = #{'arr' + x} *** Not sure how to do this selected_array.push(id) While you could append the name and eval, that's not really a clean approach. Just use an array of arrays. Or if else... -- Scott Ribe scott_r

Re: [Rails] (Occasionally) display DateTime as local time

2014-07-27 Thread Scott Ribe
and add your own setting to the config. -- 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

Re: [Rails] new to Ruby - inserting un-clickable images into footer

2014-07-25 Thread Scott Ribe
it an anchor, IOW don't wrap it in a/. That's pretty basic HTML, not really a Ruby on Rails question. Which is good, since your snippet doesn't seem to be embedded Ruby at all. Are you sure you came to the right place to ask this??? -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com

Re: [Rails] new to Ruby - inserting un-clickable images into footer

2014-07-25 Thread Scott Ribe
for embedded Ruby, and came up empty. It's still not RoR at all, is 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 group. To unsubscribe from this group

Re: [Rails] Displaying timstamp in rails view

2014-07-22 Thread Scott Ribe
helper methods or filters or whatever to use the custom time zones per user, and even worse, potentially display timestamps based on criteria beyond just the user's time zone... -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- You received

Re: [Rails] How would i get data from date?

2014-07-21 Thread Scott Ribe
(and what the error is), or whether it's running but not returning any data, or returning the wrong data. -- 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

Re: [Rails] undefined method `authenticate' for nil:NilClass

2014-07-21 Thread Scott Ribe
. Check variable names carefully.) -- 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

Re: [Rails] undefined method `authenticate' for nil:NilClass

2014-07-21 Thread Scott Ribe
end So... You really can't figure out any reason why found_user would be nil? (Actually, there's lots here that looks suspect. But one step at a time, focus on your current problem.) -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- You received

Re: [Rails] Displaying timstamp in rails view

2014-07-21 Thread Scott Ribe
understand how whatever software you're using to look at it is interpreting 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 group. To unsubscribe from

Re: [Rails] Displaying timstamp in rails view

2014-07-21 Thread Scott Ribe
On Jul 21, 2014, at 1:49 PM, avery.ro...@insecure-it.com wrote: PostgreSQL, and it's in UTC. What do you mean it's in UTC? Is the column type timestamp with time zone, or timestamp without time zone? -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice

Re: [Rails] How to do program in different way?

2014-07-18 Thread Scott Ribe
use date functions to find the dates of the first day of the month and the last day of the month, for instance, and search that range of dates. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice -- You received this message because you are subscribed

  1   2   3   >