similar to: RedBox and Rails 2.1 ???

Displaying 20 results from an estimated 50000 matches similar to: "RedBox and Rails 2.1 ???"

2006 Aug 23
2
new plugin: "redbox", a lightbox/thickbox clone with nice rails integration
Hi folks, I''ve written a little plugin to use for displaying a block of html over a page while fading out the background. This is like the lightbox.js library, and all it''s related offshoots (thickbox, greybox, etc.). My plugin, Redbox, is not really any better than these others (in fact, it''s less mature, and less tested), but it builds on prototype and scriptaculous,
2008 Apr 17
1
redbox + will_paginate
Hiya, I''m trying to use Will_paginate with the RedBox plugin but having problems making it go to the next page of the collection. http://blog.craigambrose.com/articles/2006/09/22/redbox-release-2 as far as i can see will_paginate does not support any kind of :remote ajax call so each page click can update the div element. has anyone managed to get will_paginate working within a redbox
2008 Mar 03
4
To use JS in RedBox Plugin
Hi All, I''m using redbox plugin in my app. Redbox plugin is working properly.But when i try to change text box values using js its not working. The Code is <input type="text" name="playlist" id="playlist_name"> <input type="radio" name="playlist"
2008 Jan 19
5
Open a (redbox) modal popup from inside a controller?
Hi, I''m trying to open a modal popup window using redbox to display a styled notification/alert to the user. The helpers in the redbox documentation only describe how to open a redbox when the user clicks on a link, e.g., link_to_redbox() or link_to_remote_redbox(). Is there any way to open a redbox, or a different type rails- compatible modal popup, from inside a controller action?
2007 Aug 05
0
placement of redbox popups
Hi, I''ve got Redbox working -- very cool -- but I can''t find anything in any documentation that says how to control where the popup is placed. As of now, it is placed at the top of the page -- but my page scrolls down considerably, and if I scroll down, then pop up a redbox, it''s up at the top of the page, out of sight. Any ideas? Charlie
2008 May 29
7
when is a boolean not a boolean?
Weird problem.. I''m new to rails and ruby... maybe someone can explain what I am not getting.. Env: Mac OS X 10.5.3, Rails. 2.0.2, ruby 1.8.6 (2007-09-24 patchlevel 111) A User class created using the restful_authentication plugin A Company class (has lots of fields not really important to the problem below) Users can have many companies, entered into the User.rb model as one would
2009 Aug 21
1
lightbox or slimbox with ruby on rails
Hello guys I want to use lightbox or slimbox any one having idea about it please give me Thanks -- Posted via http://www.ruby-forum.com/.
2008 Oct 07
6
https problems
I''m having a problem but don''t know what is causing it so I don''t know exactly where to post, please bear with me. I''m trying to set up https access however whenever I go to https://url_for_site the root route renders but the url is rewritten to http://url_for_site. The ssl request shows in the apache logs but obviously no further ssl requests show up.
2007 Jun 04
10
ActiveBudget - Track your money and learn Rails
I''ve worked as a freelance Rails developer for the past 6 months. Switching from a cushy salary to hourly work forced me to reevaluate my finances. Developing a budget came easily to me, but tracking my spending was annoying. I also needed a way to record my work across a number of jobs. The convergence of these needs lead to ActiveBudget. ActiveBudget is the software I use every day to
2009 Aug 27
8
Adding New Column
I added a new column using a migration. Once I updated the new.html.erb, edit.html.erb, show.html.erb, and the index.html.erb I brought up my web pages. There was a field to update show. I tried the update and the it was successful but the update did not show up in any of the other pages. What did I miss? I am using 2.3.3 of ror.
2008 Oct 24
4
Railscast 75, Observe_field and Shopping Cart
Hi all, I have the shopping cart page where a user can add items dynamically through ajax as explained in Railscast episode 75. I am using observe_field to observe the ''quantity'' and ''cost'' fields to update the total field for each item. This does not work however, for records that are added through the Ajax. How can i name the fields and observe them as i have
2009 Oct 20
2
Kernel panic w/ DAHDI 2.x/Digium TE220B
I've seen this consistently on three systems, with three different cards, and multiple versions of DAHDI. At first I thought the issue only occurred on newer, Nehalem-based, systems, but I reproduced it on a Core 2 Duo box as well. I've tested with dahdi-linux 2.2.0.2, dadhi- linux-complete 2.0.0+2.0.0, 2.1.0.2+2.1.0.2, and 2.2.0.2+2.2.0. The card is a Digium TE220B which uses the
2009 Mar 26
1
Lightbox popup on ajax pages....
Hi, I''m using lightbox.js for displaying chromeless popup windows. I have a main page on which I have javascript_include_tag and stylesheet_link_tag to include lightbox. Calls to the lightbox popups from this main page work perfectly... But....calls to the lightbox popups from pages which are called by ajax(using link_to_remote) from the main page do not work... :( They work like
2008 Nov 24
2
Namespacing conventions
I compared the output from ``rake routes'''' for each solution below, and they both produce the exact same routes. Is one solution preferred over the over? # Solution #1: map.resource :account do |account| account.resources :properties, :controller => ''account/properties'' account.resources :photos, :controller =>
2006 Dec 17
0
Using initLightbox()
Hi all I need some help on this one: I have a webpage that writes a jpeg into a div when you click on a thumbnail using javascript. I wanted to display an even bigger version of that jpeg if you click on it so I integrated the Lightbox script (uses prototype.js and scriptaculous.js) If I place initLightbox() into the body onload= then the first thumbnail clicked will write the larger jpeg into
2009 Jan 09
2
Ruby & Javascript
Hey guys! Does anyone knows how to a ruby program communicate with the Google API, which one is written in Javascript ? I''ve heard something about a wrapper to do the communication, but i didn''t find anything yet. I know a plugin for rails can do that (geokit), but i don''t know how. There is a method (geocode) that use the javascript function to return the XML data
2008 Nov 07
11
Rails requires RubyGems >= 1.1.1 : problem
Hello, On my local machine (Mac OS X 10.5.5), I get the following error when I try to run script/server start : "Rails requires RubyGems >= 1.1.1 (you have 1.0.1). Please `gem update --system` and try again." The Rails app was a former 1.2.6 upgraded to 2.1, and it worked fine. I''ve run the rake rails:update command. If I create a new Rails app, it starts with the command
2008 Nov 18
5
What is the preferred "lightbox" plugin?
Hi all - I need to do an overlay with something that supports ajax/remote html. There''s lots of options and quite a few rails plugins. Some seem out of date however. Any suggestions on which one is "best" where "best" is defined as easy to implement, works in all browsers, supports ajax or remote html. Thanks! -philip
2011 Jul 23
6
Rails 3.1 CoffeeScript not working
I convert my old JS files into CoffeeScript, In my public controller I used this functions $(''#events a'').lightBox() $(document).ready -> $("#slider").easySlider auto: true, continuous: true they load inside application.js like this (function() { $(''#events a'').lightBox(); $(document).ready(function() {
2009 Apr 06
11
How do I fix this? Power went down.
I was successful in reaching page 184 in the book "Agile Web Development with Rails" 3rd edition and while running the website with PostGreSQL as the backend, the power went down. The PostGreSQL database contents look OK and so do the source code files I was editing. But whenever I click on any "Add To Cart" button in the catalog, I get the following information in the