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/
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
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
. 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
...
--
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
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
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
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
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
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
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
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
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
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
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
.
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
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
.
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
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
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
.
(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
--
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
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
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
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
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
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
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
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
:
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
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
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
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
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
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
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
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
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
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
) 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
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
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
, 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
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
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
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
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
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
.)
--
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
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
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
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
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
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
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
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
-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
. (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
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
::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
?
--
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
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
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
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
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
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
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
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
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
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
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
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
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
,
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
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
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
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
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
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
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
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
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
?
--
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
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
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
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
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
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
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
= 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
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
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
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
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
(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
. 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
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
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
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
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 - 100 of 239 matches
Mail list logo