I have an application where users create their own personal pages. Is there a way to add a feature that allows users to share the url to their personal page with friends through email or Facebook.
...
I would like to create an email service for all the users on my site for ex [email protected] where users can be able to send and receive personalized emails , Basic feature only send and receive emails in Rails .
User can register for email id at xyz.com and send and recieve emails from xyz.com
Are there any solution already available i...
I am wondering if there is such a plugin or gem for Ruby on Rails that includes HTML validation (SGML or Tidy) in a testing cycle.
I am aware only about this plugin. Looking for alternatives...
...
Are there any resources or documentation for developing Rails plugins?
I'm using other plugins as examples, but it's hard to know if I'm doing something wrong, or if there's another way to do something. All I can find are old blog posts. I haven't found any documentation on how to develop plugins and what functionality/hooks are availabl...
Would appreciate inputs on the best file upload plugins with support of atleast following:
Resizing images.
Flexibility of specifying the place of storage.
Nice AJAX progress bar integration.
Multifile uploading facility.
Thanks.
...
37 signals suggests id partitioning to accomplish this thing..
http://37signals.com/svn/archives2/id%5Fpartitioning.php
Any suggestions would be more than welcome.
Thanks.
...
Hi, I have a model 'Asset' and, on the show page, I have this:
<%= link_to_remote 'test', :url => { :controller 'looks', :action => 'whatever' } %>
The 'looks' controller and 'whatever' action both exist.
Now when I go the the show page for the second Asset and click the test link I get this error:
Processing AssetsController#2 (...
I'd like to control the permit method with something like this
class SomethingController < ApplicationController
permit :somerole
end
where ':somerole' is a field in the database linked to a controller and an action. Something that an user with priviledge can administer and change.
Some Idea?
...
Community Engine installed fine locally on my mac, but when I try to install it on my web server, it's giving me some trouble. Here's the problem I'm having now, when I run rake test
$ [~/projects/polis]# rake test --trace
(in /home/mculp/projects/polis)
** Invoke test (first_time)
** Execute test
** Invoke test:units (first_time)
** In...
Installing a rails plugin using the git:// protocol is easy, you just type
script/plugin install git://server.local/my_git_repo.git
How do I install a plugin from a git repo hosted over ssh?
When I type
script/plugin install [email protected]:plugin.git
I get "Plugin not found"
I know it's not a git issue because the installer ...
I'm trying to modify the vestal_versions plugin to accept a parameter I set upon saving. This parameter will act as a new flag to determine when to create a revision upon updating. Currently it will always run upon update when a new revision is needed. Here is the affected area of unmodified plugin code:
after_update :create_version, :i...
I am trying to develop a plugin for Ruby on Rails and came across problems rendering my html view. My directory structure looks like so:
File Structure
---/vendor
|---/plugins
|---/todo
|---/lib
|---/app
|---/controllers
...
Hi guys,
This is the 2x2 table I need to generate:
r1c1 r1c2
r2c1 r2c1
----
In other words I should print the bottom border of the bottom right cell. This is my code:
show.pdf.prawn
#This is a two dimensional array:
my_array = [["r1c1","r1c2"],["r2c1",Prawn::Table::Cell.new(:text => "r2c2", :border_width => 1 , :borders => ...
Hi!
I have a problem creating a Rails plugin, lets call it Mplug. The plugin is pretty much only a rake task, but with a library that the rake task uses.
The problem is to require files. Lets say that this is the rake task:
namespace :mplug do
task :create do
Mplug::Indexer.new
end
end
This will not recognize the constant Mp...
I know these fields are for polymorphic associations, but I'm not sure how to use them, Is there any example or some help about this?
...
I have some fake data in the test database, but when I run rake spec the script drops and creates the whole database. How could I avoid that? or is it something I'm doing wrong?
EDIT: I just don't want to generate 1.000.000 records from the database every time. It took so long.
...
Is there a way to justify text in pdf.text_box using the prawn plugin?
...
Hello,
I'm building some applications using rails.
All apps using restful auth plugin for User base and declarative authorization plugin for authorization rules.
But I need to merge all site's User accounts to one User base for providing login for all sites.
I.e like 37signals working on. Here is their work ;
http://37signals.com/...
Hi,
I'm making a rails app which should receive e-mails. So I made a little research and figured out that I should use Fetcher plugin. But the problem is that I don't know how to use it!
Please help...
...
I have a tree structure in a .csv file (nodes are of type text), and after reading the csv i want to store the data in a ruby object. I went through a few tree plugins and i think nested_set would serve the purpose for me.
However, i am facing problem with fixing a format of csv file, so that i can read it and convert into tree object. I...