Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Ryan Stout
@ryanstout
There's a .update method on record model instances that takes a hash of field => value's to update. You can also do .name = value and .save!
From the console for example.
Prince Joseph
@princejoseph
Thank you @ryanstout . I will try that and get back to you
Unknown
@Unknownhezipaz

For this challenge you need to create a simple SELECT statement. Your task is to calculate the MIN, MEDIAN and MAX scores of the students from the results table.

Tables and relationship below:

Student Table

id
Name
Result

id
student_id
score
Resultant table:

  • min
    -median
  • max

SELECT MIN(score) as min,MAX(score) as max
FROM student s JOIN result r
ON(s.id=r.id)
GROUP BY score as median;
this is my code everything works apart from median

Ponchale
@Poncho09
Hi
Ponchale
@Poncho09
For the interested people, because our interest in maintaining this project has been ignored will be made a fork to maintain and not let this project die. Coming soon
per-garden
@per-garden
What happened to http://voltframework.com/docs ? Does anyone know? I can't read the online documentation any more.
Jeff Dickey
@jdickey

I get an HTTP 502 as well. What's more, when I load the site landing page, I get a continuous "Connection lost…Reconnecting in" n "seconds". In Safari, this counts down from 10 to 0 and repeats forever. In Chrome, it counts down from 10, then 15, then 20, then 25 seconds.

McCoy: She's *dead,* Jim!

Ryan Stout
@ryanstout
@jdickey sorry, I was using gitbook for the docs page. It needed a cname change, which I just updated. Might take a while to propagate.
Jeff Dickey
@jdickey
@ryanstout Thanks; will keep checking
Christian Käser
@dfyx
@ryanstout I've been thinking about implementing RethinkDB support for the last few weeks
(RethinkDB supports live updates to db queries)
That might simplify the synchroni
DAMN GITTER DON'T SEND UNFINISHED MESSAGES WHEN I LEAVE THE INPUT FIELD!
What I wanted to say is that it might simplify the message bus a lot
On the downside it would probably need quite some refactoring to work
Any thoughts?
Christian Käser
@dfyx
(not sure how long it will take but it's better than no changes at all)
Christian Käser
@dfyx
@ryanstout Are you still alive?
Ryan Stout
@ryanstout
Yea.
Christian Käser
@dfyx
Did you see my suggestion about rethinkdb?
Ryan Stout
@ryanstout
Yea, I had thought about adding rethinkdb a while ago.
The db adapter stuff is fairly abstracted on master now.
Ryan Stout
@ryanstout
@/all hey everyone. Sorry to hit everyone up, but I've been working on a Kickstarter and if it does well, I'm hopeful I can get some more time to work on Volt. (seriously) If you have time, please share this video on Facebook: https://www.facebook.com/stout/videos/10100103903270260/?autoplay_reason=gatekeeper&video_container_type=1&video_creator_product_type=0&app_id=2392950137&live_video_guests=0
thanks!
ylluminate
@ylluminate
really nice job on your presentation of Arsenal there @ryanstout!
i've got a (quirky) friend who runs an interesting photography channel on youtube. will see if we can hook you two up as it might be helpful for your effort
Ryan Stout
@ryanstout
@ylluminate thanks! What's the YouTube URL?
Ryan Stout
@ryanstout
@/all Hey everyone. If anyone is a product hunt user, my Kickstarter campaign for Arsenal launched. Any support would be appreciated and if this goes well, might lead to me getting time for volt in the long run.
Elia Schito
@elia
@ryanstout you have a link?
Ryan Stout
@ryanstout
It's half way down the page.
Ryan Stout
@ryanstout
thanks everyone!
Christian Käser
@dfyx
@ryanstout Looks cool. I might even buy one
dan-klasson
@dan-klasson
Cool is an understatement. Looks freaking awesome
George Plymale II
@ylluminarious
@ryanstout hey, congrats on arsenal! i've been following it here for a few days and i'm really happy for you. i was the first one to like it on youtube ;) definitely looks like it's some amazing work and it sure is selling like hotcakes :D you have any plans for it like waterproofing, etc.? i saw that you met some goals for it the other day and it looks like you're planning to add more features to it. really exciting stuff!
Jikku Jose
@JikkuJose
@ryanstout can't find the link?
Sarvang Sawalka
@sarvangsawalka
@sarvangsawalka
SELECT a.dep_month,
a.dep_day_of_week,
AVG(a.flight_count) AS average_flights
FROM (
SELECT dep_month,
dep_day_of_week,
dep_date,
COUNT(*) AS flight_count
FROM flights
GROUP BY 1,2,3
) a
GROUP BY 1,2
ORDER BY 1,2;
i don't understand this ^
can someone explain?
Prince Joseph
@princejoseph
@sarvangsawalka This is not related to volt. Why are you asking it here? You should ask it on a MySQL or PostgreSQL chatroom.
mimelmez
@mimelmez
This message was deleted
Alejandro Barrero
@coyr
@ryanstout Arsenal seems amazing! goodbye photographers xD
Josiefilippelli
@Josiefilippell1_twitter
Hi
Jeff Dickey
@jdickey
hi; first time in 3 months anybody's piped up in here
Christian Käser
@dfyx
Hi
David Alejandro
@davidalejandroaguilar
Wow guys, just want to say congratulations, this framework looks very promising! Loved the Todo app YouTube video
Colin Gunn
@balmoral
@davidalejandroaguilar sadly Volt is no longer active. Instead you might want to take a look at http://ruby-hyperloop.org/ or https://github.com/clearwater-rb.
David Alejandro
@davidalejandroaguilar
Oh damn, why is that?
Colin Gunn
@balmoral
the author (@ryanstout) was no longer able to devote time to it. Ruby-Hyperloop provides a lot of what Volt does on top of React and ActiveRecord and has an active and commited development team.
David Alejandro
@davidalejandroaguilar
Thanks for the clarification @balmoral , I actually came across Volt by searching for frameworks that used Opal, which I found via Hyperloop. I'll definitely give Hyperloop a try. Though Volt looked super nice