Ruby on Rails Community Forum
Testing Turbolinks 3 partial replacement
1
Testing
Hey Chris (and everyone else) - Have you played around much with Turbolinks 3 partial replacement? (Chris, I wathed your livecoding segment; was great, thanks.) I'm using it with Rails 4.2.5, and...
Chris Oliver replied
Opening and closing a window to a new controller/view from a different controller/view
0
General
I'm maintaining an app and need to add a pop-up window or modal that launches from the current view but loads a separate controller/view. So far I have a link_to setup to open the controller/view ...
shakycode posted
Rich text format editor in rails 4
9
General
I am looking for a rich text format editor that is compatible with rails 4, any good ones out there, I want to make beautiful text-areas with rich text.
cheers
Corey Gibson replied
Rails Console
2
Rails
Hi all,
This might be a retarded question but how do I access things other than Models in rails console, such as Controller methods, engines etc.? I wouldn't mind seeing a video dedicated to conso...
Chris Oliver replied
subscribe if old one month user
1
General
Hey Chris,
Just wanted to let you know, that I couldn't subscribe from my profile. I'm used to be subscribed to onemonth, so I got the free half a year subscription to gorails. That has expired a ...
Chris Oliver replied
Solved
Some good ways of seeding data in my app?
2
Databases
I need some seed data for my app. How do I seed Devise users, and always as images for Paperclip?
karl replied
How to use devise with Adminitrate?
7
Gems / Libraries
Great tuts, please how can i use this with devise? when i run rails generate administrate:install, it generate error... says admin is not a class, already have a devise called admin, also have a vi...
Oyewole Samuel replied
How do I use pushstate to create infinite scrolling blog effect in a standard rails app?
2
General
How do I use pushstate in a simple rails blog to create the effect that larger new sites are currently using: as you scroll to the bottom of the page, the next article seamlessly is loaded, the url...
Thomas Bush replied
Non-rails, block ip address from nginx without logging to error.log?
4
Servers
Posted this to serverfault too, but I'm still stuck:
I have a server that keeps trying to brute force hack via xml-rpc post on a wordpress site (I know, I know). I've blocked the ip address in ng...
Brian Schwartz replied
How would you improve these db's and associations
2
Databases
Database Structure
Hello people. I have my first proper paid Rails project to start soon, so I’ve been thinking about the database and the associations.
The two links below are the databases and...
Shaun Fahey replied
How to generate PDF based on search using prawn in ruby on rails
1
Gems / Libraries
So Chris im using prawn pdf in my app.
Now im adding some search form to filter by date range. All works fine and I get my filter table on my index. my problem is with prawn that wont hold the fil...
Francisco Quinones replied
Single sign in Devise STI
0
Gems / Libraries
Hey there I have an STI on devise model which is working but there is an issue with how to manage what menus to show when different types of users are logged in here is my code
user.rb
c...
JM posted
CSV Import
3
Ruby
My question is about this Episode: https://gorails.com/episodes/upload-csv-form
The CSV Import works fine (I'm using the exact same code actually).
My 1. Question - How can I define an alias for ...
Chris Oliver replied
Style a drop down menu with css
3
CSS
I watched the tuto on making notifications but i can't set the css to display the notifs properly.
Could someone show me an exemple of his css ?
Thanks
Chris Oliver replied
Paperclip - Watermarking for dynamic image sizes
0
Gems / Libraries
I'm looking to add watermarks to all images that are uploaded to my application. They can be of several sizes and this is where I'm running into trouble.
This is my watermark processor:
modul...
Michael Victor posted
Devise models and Single table inheritance and custom class methods
4
Gems / Libraries
Hello there I am in a little fix and cant figure out whats going in, i am attempting to have a devise model User share via STI with 2 other sub-classes . I am able to populate both classes with dat...
JM replied
Use datatables like handsontable
1
General
Hi,
I would love to see a episode that explains the use of json/ajax and load and save back data back to the server. For example i want to use handsontable (http://handsontable.com/) but i cant lo...
Chris Oliver replied
Reoccurring events with simple_calendar and ice_cube
2
General
I am developing a Rails app that has a `Task` model. It's like any basic task tracking system where you can set some attributes (name, activity, status, priority etc.) and a due date. For my syst...
Dan Tappin replied
Solved
2 Factor Authentication
5
Gems / Libraries
Hey Chris. This would be good for a screencast, well i'd like to see it for sure!
https://github.com/tinfoil/devise-two-factor
Chris Oliver replied
How do I hold Braintree payments for longer than the given escrow duration?
4
General
I want to create a payment system using Braintree that will only charge the user once a certain condition is met. Lets assume its like freelancer and we need the payment to only go through when the...
Tharan Raj replied