Skip to main content
Filter by
Sorted by
Tagged with
5 votes
3 answers
811 views

OpalRb with MeteorJS?

I have been intrigued by the power and elegance that Opal offers in the way of using pure Ruby vs CoffeeScript or, of course, JS. How would one go about leveraging Opal for Meteor as the primary ...
ylluminate's user avatar
  • 12.3k
4 votes
1 answer
206 views

How to integrate other javascript library in Volt framework?

I can't understand how to integrate existing JavaScript libraries into Volt. With Volt 0.9.3 Opal Native object isn't available and use only the backticks with interpolation seems no pratical.
matteofuzz's user avatar
4 votes
1 answer
178 views

Volt rb framework unable to connect to database

when I fire volt server in the terminal, it gives me this error message Unable to connect to the database. Volt will still run, but the message bus requires a database connection to setup ...
ahnbizcad's user avatar
  • 10.7k
4 votes
2 answers
215 views

How to create an admin area in Ruby Volt?

I've been playing a lot with Volt lately, and would like to figure out how to create an Admin area. The documentation has a section on restricting models for users, but it's still in the TODO list. ...
Adam Cooper's user avatar
  • 1,016
4 votes
0 answers
102 views

tracking all online users in Volt

I'm trying to make a record of all the users which are currently online. Here's what I've tried: In my "main_controller": channel.on('connect') { puts "ON"; store._online_users << Volt....
max pleaner's user avatar
  • 26.7k
3 votes
1 answer
69 views

Delete entire voltrb store collection

store.widgets.clear does not seem to save into the Database. So I tried: store.widgets.each do |i| i.destroy end And this destroys only half of the records in the DB. Any suggestions on how I can ...
Graham Jones's user avatar
3 votes
1 answer
171 views

Syncing with an External API in Volt Ruby Framework

I'm looking into Volt as an option for building an Admin interface to our REST API. The API is a separate application. I would like the Admin application to persist data to the API but also store it's ...
Travis Todd's user avatar
3 votes
2 answers
73 views

How do I add a button in ruby volt?

I'm trying to work out how to add a button in the ruby volt framework - it's a bit of a beginner question really. I've tried to adapt the todos example (part 1 and part 2), but haven't got it to work....
Stuart's user avatar
  • 51
3 votes
2 answers
107 views

Storing pictures in Ruby Volt

I am wondering what the best practice is to store pictures in a model in the Volt framework. Should I just assign it to a model's field or is there a better way?
user3579220's user avatar
2 votes
2 answers
82 views

Volt iteration comparison with promise

If I'm iterating through an ArrayModel using .each_with_index, is there a way to make rendering decisions based on the current index compared with the results of a Promise (at the moment, this ...
neurodynamic's user avatar
  • 4,386
2 votes
1 answer
57 views

What is controller_group for in view call?

I just wanted to understand better the view call in main.hmtl: what is the third parameter {controller_group: 'main'} for in: {{ view main_path, "title", {controller_group: 'main'} }} Are there ...
djboardman's user avatar
2 votes
2 answers
143 views

VoltRB rspec testing a method can't convert Promise into Array

I am trying to do some rspec unit tests on a method in my model. The method returns a promise, and when resolved, the name of the person. The method is not the problem as I know that it works ...
user3579220's user avatar
2 votes
1 answer
60 views

How to make pages with a "template" controller and view in VoltRb

I'm having a problem in Volt where I need a bunch of pages with a "template" controller and view. Let me explain this in a little more detail: Say, for example, I have a site about books. I have a ...
GDP2's user avatar
  • 2,008
2 votes
1 answer
144 views

How do I do a jQuery toggleClass in Volt?

I'm playing around with Volt and currently trying to do a simple toggleClass for a sidebar in my Volt app (with no luck). Here is a code sample. app/main/views/main.html <:Title> {{ view ...
luc's user avatar
  • 43
2 votes
0 answers
52 views

Volt Framework Task returns string

I am currently working on a sports app. Users should be able to create new teams and add users to the teams. When a user creates the team, he/she should be able to search for users to add to the team, ...
kev97444's user avatar

15 30 50 per page
1
2 3 4 5 6