Displaying 20 results from an estimated 1200 matches similar to: "Beta Invitation in Rails 3, little problem"
2010 Feb 10
16
nil object - can anyone help?
Hi there,
I''ve been looking for a while now and can''t seem to find where I''m
going wrong..
I''m following a railscast tutorial to send invites out to people.
there''s n invitation.rb page:
class Invitation < ActiveRecord::Base
#attr_accessible :sender_id, :recipient_email, :token, :sent_at
belongs_to :sender, :class_name =>
2010 Feb 09
2
undefined method `generate_token'
Hi Everyone...
I''m following a railscast episode on how to implement an invitation
feature.
It''s going really well, but i''ve hit a minor snag that I cant get
over..
undefined method `generate_token'' for #<Invitation:0x2563bf8>
The invite form allows me to check for a user, and whether they
already have registered. If they have, the invitation is not
2012 Sep 10
5
flash[:notice] not working
Hi,
anybody please help me out,am using rails 3 but using this
flash[:notice] doesnot works, i have used this in controllers.
any idea ? please help.
Regards,
Manoj
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2005 Mar 25
4
Gmail invitation
Hello R users!
I just found out that I have 49 invitations for Gmail (gmail.google.com).
I have been using it now for a while and is really nice. Don't forget
1 GB for free.
I will invite those who respond to this mail by FIFO.
--
Lep pozdrav / With regards,
Gregor Gorjanc
------------------------------------------------------------------------
University of Ljubljana
Biotechnical
2006 Jul 23
4
has_many AND has_many :through ?
Hi,
I am working on a scheduling app and I have a perpelextion (new word).
I am wondering if the problem is my data model
I have Users.
Users can create Events.
Users can be invited to Events created by other Users.
So...
user.rb
class User < ActiveRecord::Base
has_many :invitations # invitations to other users'' events
has_many :events, :through => :invitations # all events
2017 May 17
1
Any way to set the subnet/suggest of invitation?
Just curious if there is any way to set the Subnet of an invitation.
Thanks
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20170517/3be76840/attachment.html>
2009 Nov 04
1
Personal invitation from daminda edirisinghe
If you are not able to click these links, click the following: ??Show content?? and try again.
E-mail sent 11/4/2009 2:00:04 AM, by daminda edirisinghe:
Hello,
dada
Finally, a smart and simple way to manage your contacts!
With UNYK, I put all my contacts together in <b>one address book</b> that is <b>automatically updated</b>. One of my contacts changes his or her
2008 Feb 15
3
Destroy, dependent and performance
Hi!
This is my first post in this forum. I''m learning RoR for two weeks and
I''m very interested about how to improve this framework.
I was testing one app I''m working in and I had some problems with
destroying.
The code is simple (and maybe wrong, as I said i''m just learning!). When
you destroy a league, you send a message to all the users associated to
this
2010 Oct 01
20
Paperclip not executing FFMPEG properly
Im using a customs processor to run ffmpeg on a video to create a
thumbnail.
So far so good. Except when I do:
cmd = "-i #{@file.path} -f flv -s 320x240 ~/Downloads/foobar/q.flv"
success = Paperclip.run(''ffmpeg'', cmd)
Console is reporting:
ffmpeg ''-i /var/folders/uL/uL0bYOOZEZaJH5E+BmDJVE+++TI/-Tmp-/stream,
16824,1.mpeg -f flv -s 320x240
2010 Sep 21
25
Working in install acts_as_commentable, On create, error: "unknown attribute: book_id"
Hello, I''m working to install the acts_as_commentable plugin on my
Rails 3 app.
After adding "acts_as_commentable" to my book model, I then added a
comment form on my book show view:
<% form_for(@comment) do|f| %>
<%= f.hidden_field :book_id %>
<%= f.label :comment %><br />
<%= f.text_area :comment %>
<%= f.submit "Post
2010 Sep 08
5
Adding a selected checkbox to a new nested model without polluting the model
Context:
I have a GoodsReturn model with many ReturnedItem. For the new view, I
create a new GoodsReturn with many new ReturnedItems from a sale (and
its SoldItems).
Problem:
I want to have a Add/Selected checkbox with which the user can pick
the items he wants to return. I know I could use a ''selected'' virtual
attribute but I don''t want to pollute my model just for
2011 Dec 07
2
Question About Separation Of Concerns (ActiveRecord)
Hello,
I''m a bit stuck with where to put some method calls (separation of
responsibility) and although I''m trying to do it just simply now in the
models, I think my problem raises a bigger question about Fat Models. But
that''s another subject for another day.
Right now, I have ....
Event
has_many meetings
## has an a invitation_expiry date field.
def
2010 Sep 13
13
what I've missed in routes.rb?
In routes.rb I''ve put:
resources :sessions
controller is:
class SessionsController < ApplicationController
def destroy
session[:id] = nil
session.delete(:casfilteruser)
CASClient::Frameworks::Rails::Filter.logout(self)
end
end
In application.html.erb I have:
<%= link_to ''Logout'', session_path(session[:cas_user]), :method => :delete %>
I
2010 Sep 09
17
formtastic issue
Hello,
I will try to explain it step by step :-)
I just created a new rails 3 app, then I created a new controller...
rails generate controller admin::users
I didn''t forget to add the resources in the routes.rb file like this.
namespace :admin do
resources :users
end
Now I try to use formtastic to create the form but I get erorr that my
users_path doesn''t exist?
2010 Sep 06
5
how to call rails method from javascript method.
hi
I wanna call rails method from the javascript method.
It should be ajax call for rails method.
please help me.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe
2010 Sep 12
11
Rails Commenting, Plugins?
Hello,
I''m looking to add comments to records in my app like Books. So a user
can view a Book and then comment on it...
As a newbie, is this something that I should build from scratch, or
are there any popular Commenting Plug-ins, (Ajax implemented) that
might be worth utilizing?
Thanks
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2010 Sep 17
25
Trying to look up comment through an ID, but failing
I am trying to allow users to reply through comments by allowing users
to click a reply link next to the parent comment. It will send in a
parameter to the ''new'' comment view, like so:
| <%= link_to "Reply", new_comment_path(:in_reply_to => comment.id) %>
The form will use the :in_reply_to parameter in order to save that id as
the parent id, like so:
2010 Sep 22
8
ActiveScaffold and partials
I was thinking of doing partials as I did in the simple Rails
application I worked on today.
But, since I''m using ActiveScaffold, I didn''t find any *.html.erb in the
views folder of the Rails application that I need to make my partials!
How can I work with partials in ActiveScaffold?
Thanks.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you
2013 Aug 04
1
10th anniversary of tinc 1.0
Hello everyone,
Today is exactly 10 years ago that tinc 1.0 was released. I would have hoped to
celebrate this by releasing 1.0.22 and 1.1pre8 today, but this will instead
happen in one week.
Tinc 1.1 is close to becoming stable, and I hope to release 1.1.0 before the
end of the year. The main features of tinc 1.1 are the improved security over
tinc 1.0, and a much nicer interface that makes it
2013 Aug 04
1
10th anniversary of tinc 1.0
Hello everyone,
Today is exactly 10 years ago that tinc 1.0 was released. I would have hoped to
celebrate this by releasing 1.0.22 and 1.1pre8 today, but this will instead
happen in one week.
Tinc 1.1 is close to becoming stable, and I hope to release 1.1.0 before the
end of the year. The main features of tinc 1.1 are the improved security over
tinc 1.0, and a much nicer interface that makes it