Displaying 20 results from an estimated 70000 matches similar to: "Rails App permissions?"
2011 Jul 27
20
Rails, jquery and Ajax
How do I make an ajax call and then update a div with a partial? I''ve
tried this but it''s not working. Comment is created but the partial is
not loaded.
//view
<a href="#" id="testlink">Testlink</a>
<div id="commentlist">
</div>
//controller
def new
@comment = Comment.new
@comment.save
2013 May 31
11
A simple javascript alert not working
If I have a file in view /test called index.js.erb and in it a simple
alert("hello") shouldn''t that run when I go to /test/index? It doesn''t.
--
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 unsubscribe from this group and stop receiving emails from it,
2010 Dec 05
14
Remove bundler
Can you remove bundler without any problem – for rails?
--
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 from this group, send email to
2011 Mar 07
2
One Mailer for all
Can I have one mailer for all? Would that be called
application_mailer.rb
--
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 from this group, send email to
2010 Jun 08
8
rails, ajax, json, and script
Could someone please demonstrate the code to send both json (or xml) AND
javascript (to be executed) in a single Ajax request?
Is this even possible?
--
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
2010 Aug 24
5
Reading pem file in ruby on rails
hi,
i have a certificate file in pem format. i need to read the pem file.
Need help on how to read the certificate in ruby on rails
Thanks
--
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
2012 Jun 13
7
Cmd line interface for ruby on rails app
Hi,
I have a rails app running which provides an interface to create/update
data stored in a DB. How do i develop a cmd line interface to do the
same i.e i should be able to retrieve/update data to a DB.
--
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
2010 Jan 12
4
how to create portable rails app?
Hi,
i have a rails app which is done with instant rails, now i need to take
the app to other computer and use it without migrating , that is plug
and play use of that application, can anyone help with that??? plz!
--
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,
2011 Apr 29
3
questions about cookies when bridging together two rails apps
Hey all,
I am looking through this example Rails app where a user session is
stored in cookie so user signs up in one rails app and navigates to
another while still being signed in as unique user. I come across this
line of code where I don''t understand where some of these methods are
coming from:
@session = Session.create!(:user => @user)
cookies[:session_token] = {:value
2010 Jan 28
5
files are missing in rails app
I''ve built the slackware packages of rails.
rails path is: /frm/ruby/1.8.6/lib/ruby/site_ruby/1.8
RUBYLIB :
/frm/ruby/1.8.6/lib/ruby/site_ruby/1.8:/frm/ruby/1.8.6/lib/ruby/site_ruby/1.8/i686-linux/
I could created the rails application, but files are missing.
Config
- boot.rb, database.yml, environment.rb and routes.rb
Public
-
2011 Sep 16
2
Find a record in a find array
A find will make an array, right? Or is it a hash? Anyway, if I have
several records in an array/hash, how can I find e.g. record with id 10
and it''s content?
--
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
2011 Mar 23
2
rails 3 + mongrel + mime type swf
Hi there!
I ran rails 3 application in localhost. In index.html.erb file I added
<object type="application/x-shockwave-flash"
data="../public/player_mp3.swf" width="200" height="20">
<param name="movie" value="player_mp3.swf" />
<param name="FlashVars" value="mp3=file.mp3" />
2011 Dec 17
3
Receive a notification when the user open an email - Ruby On Rails
I building an application using rails, and I wanna know if is possible
to write a code which allows me to be notified or something like that
when the user open an email sent through my application. I need to track
that information. When I sent an email, I need know. The question to be
answered by my app is "Did they read it?"
Tips in others languages would be ok to me!
Thanks in
2010 Apr 22
3
HOW TO Track How Many Recipients Open Your Mail IN RAILS?
HOW TO Track How Many Recipients Open Your Mail IN RAILS?
please help me PROVIDE SOLUTIONS AND STEPS OR ELSE ANY PLUGIN
--
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
2013 May 31
22
accidentally created a rails app in the home folder
Im a new user - I just installed rails, following directions here:
http://rubyonrails.org/download
however, when it came time to make a rails new path/etc/etc I get this
message:
Can''t initialize a new Rails application within the directory of
another, please change to a non-Rails directory first.
The only complication during the download was that I had to upgrade from
version 1.8.6 to
2011 Aug 29
7
:onchange in rails 3
Hi,
Anybody know why :onchange works here...
<%= select_tag "Minisections",
options_from_collection_for_select(@minisections, :id, :title, :selected
=> @minisection.id), {:onChange => "{alert(''Minisection has been changed
to x !'')}"} %>
but NOT here (to call a function)...
<script type="text/javascript">
function xyz() {
2010 Feb 25
10
ajax.updater problem
Hi everyone
I´know that it is not a ajax forum, but Im using ajax ina program
created with rails code and I think that I´m not the unique person who
use the Ajax. UpdaterPeriodically.
My problem is that my program doesn´t refresh the div tag, following
it´s my source code. Anyone can say me why it doesn´t work?
<head>
<%= javascript_include_tag ''prototype'' %>
2010 Nov 08
2
Very good offer for ruby/rails developers
Hi guys, sorry the "spam", but I''ve just seen that there is a very good
offer for us (ie. months of newrelic, sendgrid, heroku, linode and other
cool services). You can check more here: http://tinyurl.com/35adxnv
Hope that''s useful for someone (I''ve just took it)
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are
2011 Mar 15
10
Set bounce address with ActionMailer::ARMailer
Hi all. I send out mails using ActionMailer::ARMailer, via an exim
mailserver. Is there some header/field that i can set so that the reply
field is (eg) webmaster-jMbK1v/RW1uaMJb+Lgu22Q@public.gmane.org but bounced (ie undeliverable)
mails get sent back to (eg) noreply-jMbK1v/RW1uaMJb+Lgu22Q@public.gmane.org?
thanks, max
--
Posted via http://www.ruby-forum.com/.
--
You received this message
2010 Sep 12
11
Rails 3: finding a record by name in multilingual app
Hello,
I upgraded my application from Rails 2 to Rails 3 and ran into a
problem. In rails 2 I could use the english name of the record to find
it like:
Page.find_by_name("Welcome")
even though the user chose German as the language (which of course
showed the German welcome page.
Eversince I switched to Rails 3 (default_locale still :en) I can''t find
anything by giving the