Displaying 20 results from an estimated 7000 matches similar to: "newbie-> help understanding "magic" behavior"
2006 May 12
12
Anyone tried the recent Mac OS X Security update?
It includes a patch for Ruby. I have already installed 1.8.4 from
source, and updated my PATH to look in /usr/local first, so I don''t
imagine that anything Apple does to "their" copy of Ruby will have any
impact on me, but I''m wondering if the changes to their Ruby is
something that needs to be done to 1.8.4 as well.
Thoughts?
Walter
2007 Jul 12
1
acts as list -- adding or moving new item to new location
right now i''m adding an item to my ''list'' but i''m unsure how to move
it to a certain spot in the list. specifically i want to put it at the
bottom of the list. i assumed that if i did something like
parent.children << new_child
then the ''position'' field in the child table would be given some
sensible default by rails but instead
2006 Mar 31
4
Question about pagination
Hi!
I''ve got a list of project on the main page and if one of them is
selected i render a partial using ajax with data of selected project.
How to create links to next/previous project using pagination?
--
Posted via http://www.ruby-forum.com/.
2012 Mar 05
6
Mail statistics
maybe this forum is not the ideal place for this question, but does
anyone know how to track email statistics? such as clicks, delete,
spam report.
--
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
2012 Mar 27
4
render :js => "window.close();" wont work
when i try to do the following in a action
render :js => "window.close();" wont work
it still response in the browser,but the window wont close.
i dont know why.thx!
--
*愿爱与喜悦心与你同在!
石岩敬上
大连东软信息学院 计算机系软件工程应用方向
Dalian NEUSOFT Institute of Information
中国-大连市软件园路8号
邮编:116023
**Mail:hlcfan.yan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org*
2010 Sep 16
6
acts_as_solr plugin fate?
Just wanted to see if I was using the latest acts_as_solr plugin, but
the URL <http://acts_as_solr.railsfreaks.com/> takes me to a GoDaddy
domain parking page.
Anyone know what''s happened to railsfreaks, and more particularly
this plugin?
--
Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
twitter: @hassan
--
You received this
2012 Aug 25
12
index.html in rails-app/public
Hello All,
I have created a rails application on hosrtmonster and created
symbolic link of app''s public folder. Now default link is to
index.html of rails-app/public folder.
I want to set another page as homepage. I also set root in routes.rb
file but its not working, also remove default index.html from public
folder.
Can anyone tell me how to add link
2011 Dec 17
7
How does bundler know whether Gemfile has changed?
I am trying to understand how bundler works. Looking at the manual [1] it says
"If a Gemfile.lock does exist, and you have not updated your
Gemfile(5), bundler will fetch all remote sources, but use the
dependencies specified in the Gemfile.lock instead of resolving
dependencies."
The question is how does it know whether Gemfile has been updated? I
expected to find something in
2013 Nov 22
4
Delayed JOB ISSUE
Hi all
I am using delayed jobs to send sms I am using
"http://github.com/tobi/delayed_job/tree/master". In my other website my
delayed job is working fine. Recently I have took one new domain in the
same server which I have my other app''s which are working fine. Now the
issue is after taking new domain and running the old app with new domain
delayed job is not working
2012 Dec 08
9
link_to popup
Hello All,
I have a link. Which I want to open as a new window :-
<%= link_to "Google", "https://www.google.com", :popup =>
[''new_window_name'',''toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes'']
%>
But it is opening in the same page....
Any suggestions how to do it ??
Even hover will be
2010 Oct 14
2
Nested form, perhaps?
I have a general design question, and haven''t written any code for
this feature yet. I''m setting up a control panel for a sort of team/
content management system. A new project needs a team to work on it.
The project has been saved, so we don''t have to worry about that. But
each member of the team needs to have a role in relation to this
project (they may have
2013 Oct 23
3
Rails 4 and HABTM Checkboxes: Unpermitted parameters error
I have a simple Rails 4 project with two scaffolded models: Practice and Practitioner. I have set these both as habtm and am in the process of adding checkboxes to the Practitioner form so that I can check off the practices that this practitioner belongs to. In the practitioners_controller, I added practice_ids to the practitioner_params permit list, but I am still getting the error:
Started
2007 Dec 01
3
Event.observe and normal event
Hello!
I posted in another mail that I had a problem with this code:
paths.each(
function(img, i) {
this.imglist[i] = new Image();
this.imglist[i].src = img;
Event.observe(
this.imglist[i],
''onload'',
2012 Mar 10
6
Cartographer shows correct info box BUT over wrong marker
Hi guys (and gals),
The code formatting is so nice on SO.com, so I thought I''d just share
my post in hopes that someone from the group can help.
http://stackoverflow.com/questions/9643786/cartographer-shows-correct-info-box-but-over-wrong-marker
Feel free to answer back via email if you don''t have an SO account.
Thanks!
Abram
--
You received this message because you are
2011 Feb 02
6
how to set default_scope for the whole application?
I know I can set default_scope for individual active record model, but
can I set one up for the whole application?
thanks
--
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 Aug 13
3
How to make an AJAX call to different domains in Ruby on Rails 3.0
I have an action email in my controller of application running on
www.example.com and I am trying to send the form data of email to
www.data.example.com/email where my another application receives the request
and I am able to save the data in js format. But I want to send back the
acknowledgement to www.example.com and replace the html using rjs template.
Here are some code for you reference:
2012 Mar 02
3
Generating new application creates a few syntactically bad files in Rails 3.2.1
Running "rails new yourapplicationname" creates all the requisite files,
however two of them have bad syntax.
session_store.rb
is:
YourApplicationName::Application.config.session_store :cookie_store, key:
''_yourapplicationname_session''
should be:
YourApplicationName::Application.config.session_store :cookie_store, :key
=>
2006 Apr 25
5
Routing and extensions.
I would like my something like "my_page.html" to map to :controller =>
''page'', :action => ''my_page''. How can I accomplish that?
Is there a way to make the routing parse other things other than ''/''?
--
Posted via http://www.ruby-forum.com/.
2012 Oct 09
10
Auto refresh the drop-down
I have an option in dropdown like "Add new option" written using
grouped_collection_select.
And when user clicks on the "Add new option". A pop up dialog appears to
add a new value. And when I click create it hits the database and adds the
value to the db.
But It never updates the dropdown list. Suggest me a way to auto refresh
only the current dropdown with the new
2013 Jun 27
2
[HELP] RoR Fedena App Installation: Rake Gem
I''m really a newbie with RoR.
But I need to deploy this app as soon as possible.
RoR App: Fedena
RoR Ver: 1.8.7
When I type any rake commands I always encounter this problem:
rake aborted!
uninitialized constant ActiveSupport::Dependencies::Mutex
Locally, I did find the solution for this problem by downgrading my Rake
Gem version from 0.9.2 to 0.8.7.. The problem is installing it on