Inheritance is not working.
Hey leroydupuis,
To get the result you're after, remove `TimeLine.new([1,2,3,4])` and instantiate `AuthenticateTimeLine` with the array instead
```
authenticate_timeline = AuthenticateTimeLine.ne...
Jacob Montgomery
replied
2
Ruby
API low-level caching
Hi,
You could cache like this:
```
def method_name
return Rails.cache.fetch('method_name', :expires_in => 1.hours) {
# do something
}
end
```
Why not?
What is stopping you? :)
Alexey
replied
3
Ruby
Question on polymorphic comments tutorial
got through the whole thing and went to add a comment and i get routing error with the pattern of "films/1/comments". What did i do wrong?
Jimmy Sander
posted
1
Ruby
Looking for Senior Software Engineer experienced in Ruby!
Hi all,
I'm looking for a Senior Software Engineer to work full time either in Edinburgh or remotely in the UK to work for a leading cloud based accounting platform with over 65,000 users.
Must h...
Eleanor Turner
posted
1
Ruby
ARRAY ACCESS AND INSERTION RECORD DATABASE
Hello everyone,
I would need to access the array to retrieve the information and insert it into the database (Code, Customer, Phone1, Phone2). Someone can help me?
{
:recordset => {
...
Antonio F.
posted
1
Ruby
javascript_pack_tag 'javascriptNamePackage' render api json file instead of showing web page and load javascript package
In index.html.erb I have =javascript_pack_tag 'javascriptNamePackage' which render entire api json file and ignore all javascript package and everything..
If someone have idea what am I doing wro...
Cloud
posted
1
Ruby
Whats the best way to handle errors, when creating new records?
Yeah, this is something I will have to look into in more detail. I am new to the whole scraping of sites, but it's been a really cool learning experience and I am much more confident.I did ha...
Alan Reid
replied
•
Solved
7
Ruby
Tuning Ruby for development
I guess code blocks get confused with the hash symbol :)
Carl Mercier
replied
2
Ruby
Can RUBY build graphical editors like this?
I think you would want to use Rails to provide the data via an API and then use something like Vue or React on the frontend for the UI.Chris has an in-depth series on a similar setup using vue:Rail...
Morgan
replied
2
Ruby
How do I do upserts and/or conditional saves?
Excellent! Glad you were able to get it working! :)
Jacob Montgomery
replied
•
Solved
4
Ruby
How do i implement load more comments or reply
wow no comment or reply .... go much for membership:)
khemlall mangal
replied
2
Ruby
Chat Using Action Cable part 3 - Chatroom and ChatroomUsers Association
I've been playing around and trying to implement a chat such as slack as shown on Chris's screencast. On Chatroom index I'm able to Show, Edit, Join, and Leave. However, when I clicked on Show e...
RicePad
posted
1
Ruby
How do I add the amount stored in my database to Braintree::Transaction.Sale?
Am not known with the BT api, but one thing to check is in what way BT expects the price, eg. Stripe expects it to be in cents ($15 would be 1500).
eelcoj
replied
2
Ruby