Search Results for "best-way-to-centralise-regexes"
Forum Threads

How might I handle event-sourcing?
2
Rails
I've *never* been happy with the way I've implemented certain kinds of features:
* Notifications
* Some kinds of reporting
* Activity Feeds
Then, I saw two things:
1. The "bucket/recording" patter...
Chris Zempel replied

Best way to relate models on Jumpstart Pro
1
Ruby
Whats the best way to relate models? Im building a real estate app with Jumpstart Pro and would like to add property owners (contact/users) to the a property, so on the show page of a property I ca...
Oliver Sawtell replied

Best way to handle accessing resource view in modal and non modal
0
Rails
Hey there,
I'd like to get some advice on how to handle rendering similar content like a show/edit for resource in modal or in full page render. Does it make sense to have multiple routes for thes...
Edwin Mak posted

Best way to approach these 2?
1
Rails
Morning everyone,
I have two issues. First off, I have a meal planning app. I want to display # of recipes #&# mealplans a particular user has (obviously user would have to be logged in). ...
John replied

Best way to start a rails project?
5
General
Hi i've been coding with rails selflearning with videos books and so on, (prolly not the best way to do it) but i'm wondering if there are few best practices to follow up.
For instance, when i do ...
kriera replied
Solved

Best way to create a belongs_to object from a has_many
19
General
Sorry for the vague title but I cant think of a better explanation! Let's say I have a list of Users and an admin could click a button/link that would create a site for them from the existing ...
alangosh replied
Solved

Best way to use common code for multiple applications ?
5
Rails
Hi all,
I would like to know the best way to use common code for multiple applications ? Basically I am working on two applications those two are build on top of third party APIs . I want...

Best way to create a report/spam button?
2
Rails
Just looking for ideas on the best way to create a report or spam button/link on posts and comments. And do you typically have that notification sent to an in program inbox to an admin email, etc....
Ryan Carter replied
Solved

Best way to build a Contact Us page
2
Rails
Hi
First post so Hello World! Really enjoying this site.
I was just wondering what people consider to be the best way to build a Contact Us page.
I don't need to store the entered data, just em...

best way to validate URL
3
Gems / Libraries
Hi Chris!
I've been looking for a good URL validator for a while, but all the solutions I found are kinda weird, so I'm not even sure if I wanna use any.
Here is my usecase: A user can create a p...
Chris Oliver replied
Solved

Best way to measure distance between current user's location and place location?
4
General
I'm building an app similar to Yelp. The user should have a current location (taken automatically) and a chosen location (defaulted to current location). Each place should also have a location. I w...
Matias Fernandez replied

Best way to create or save a record (with associations) as a template
10
General
I'm curious as to what people think is the best to create a new record, or save an existing record... as a template. The template would be used as a starting point to duplicate that record easily ...
tquill replied

Best way to render a page as a PDF
5
Gems / Libraries
I have tried several methods including PRAWN to generate PDF's. It seem there must be a better way. What is you recommendation?
John van Arkelen replied

Best way to render a page as a PDF
0
Gems / Libraries
I have tried several methods including PRAWN to generate PDF's. It seem there must be a better way. What is you recommendation?
Damon Delcoro posted

Best way to grant a user specific permissions
5
Rails
Trying to determine which way I should handle this.
Normal User adds a post to our system, he then has the ability to update and delete this post. In the future he may assign other users the abili...
oomis replied

The best way to use permissions in serializers
0
Rails
I want to show the attrib, using cancancan in serializer model, it is possible ? what is the good practices for that, thanks !
Jose Aguirre posted

Whats the best way to allow embedded content from another site
2
Rails
I'm building a blogging application at the moment and I am wondering what the best way to allow users to embed youtube/spotify/soundcloud content into the blog posts. From what I understand simply ...
Daniel replied
Solved

Whats the best way to handle subscriptions with a forum?
1
Rails
I'm building a forum and was wondering what's the best way to handle subscriptions?
Chris Oliver replied
Solved

Whats the best way to handle errors, when creating new records?
6
Ruby
Hi all,I am creating new records, and want to be able to catch the ones that error and add them to my activity log so I can look into them and why they may have failed.What would be the best way to...
Alan Reid replied
Solved