Displaying 20 results from an estimated 1000 matches similar to: "Rails 3.1 CoffeeScript not working"
2011 May 23
3
How can I use option --bare in Rails 3.1 for CoffeeScript?
Someone know how can I use this option in Rails 3.1?
Now CoffeScript puts a function ".call(this)" on each file, but I want
to remove this.
--
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
2006 Jan 08
10
Resource Bundle Roundup
I''ve recently made a first release of what I''m calling
"bundled_resource" which is a plugin that makes our lives *much*
easier when we need to use javascripts, stylesheets and images in
conjunction with one another to deliver a special effect or tool on
the client (browser) side. If you missed the release, read about it
on my blog at
2006 Apr 14
3
link_to_remote_with_overlay - Easy Ajax Overlays
People might be intrested in an article I wrote about using a helper and
some javascript to easily bring up ''Overlays'', a bit like Lightbox.
http://www.eribium.org/eribium/?p=32
--
Posted via http://www.ruby-forum.com/.
2014 Apr 23
0
Select fields, Coffeescript and Cocoon
Hello,
I have select field which after a choice happened, feeds another select
field.
Using the gem Cocoon to duplicate this set of select fields.
My problem now is to find a solution that the coffee script supplies values
for each select field-set separately.
My code:
form
<%= render 'usergroup_fields', :f => usergroup %>
<%= link_to_add_association "Add
2006 May 28
14
Lightbox and RJS
Hi,
I am trying to include lightbox functionality in my app, but there is
a slight complication. Apparently lightbox initializes all the links
to lightbox events on page load. However, in my case, some new links
to lightbox events will be rendered to the page through ajax events
(obviously this means after the page loads). So I figure I need to
find a way to call lightbox''s
2006 Jul 28
5
RoR & Lightbox
Has anybody else had a problem with using Lightbox in their RoR apps? I
include all the necessary files in application.rhtml and then attempt to use
the Lightbox functionality in pages and such. Nothing happens except that a
new page opens up with the link to the image I was attempting to show with
Lightbox. I''ve even gone so far as to strip out everything except the
necessary
2006 Apr 06
4
Using RJS to call custom JavaScript class/method
The announcement for RoR 1.1 shows some nice examples of RJS calls. In
particular I am interested in this one:
# Call the custom JavaScript class/method AddressBook.cancel()
page.address_book.cancel
In trying to develop a "lightbox" style modal form, I have been
successful in saving the form data via AJAX but I can''t seem to close
the "lightbox". I am using 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
2012 Mar 12
4
how to design a api?
hi,everyone.
now i start to design a api.
the url like this
http://localhost:3000/api?seckey=123&&post_id=1
the visitor need a seckey to access auth.and get info via json.
so i dont think thats a good api.
i need your answers.thx
--
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 Oct 15
18
Newbie - Rails 3 lightbox?
Hello!
I''m trying to create a simple image "popup" effect using Lightbox2,
http://www.huddletogether.com/projects/lightbox2/. But I don''t get it
to work. My code looks lite this:
<span class="ad_image">
<a href="<%= ad.image.url(:thumb) %>" rel="lightbox"><img src="<%=
ad.image.url(:thumb) %>"
2009 Jan 29
3
Lightbox Editor freeze
I've try to use Lightbox Plus image editor (http://www.lightboxeditor.com/) under wine. It start's, but always freeze after few minutes.
It says:
Code:
err:ntdll:RtlpWaitForCriticalSection section 0x7e4518a0 "x11drv_main.c:X11DRV_CritSection" wait timed out in thread 0009, blocked by 0018, retrying (60 sec)
After a minute says the following message:
Code:
wine: Critical
2007 May 30
3
how to create a simple DHTML dialog
I am looking to create a simple dialog window like this on a page:
http://developer.yahoo.com/yui/examples/container/simpledialog/2.html
I know scriptaculous comes with Rails, not YUI, but I can''t find
anything similar there. Is there any shortcut to doing this with
existing plugins or core stuff?, or must I download another toolkit?
thanks
Sam
2019 Jan 28
4
lld write wrong symbol value in .data section if enable -pie
Hi Rui,
I still fail to enable the lld in my Uefi firmware build to replace ld, and I found it is related to the wrong symbol values in the .data section, which are pointed by R_X86_64_64 relocation entries. I need your advices.
My firmware uses a linker script https://github.com/tianocore/edk2/blob/master/BaseTools/Scripts/GccBase.lds to do the linking. We use position independent code with
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,
2012 Sep 20
7
jQueryUI autocomplete (Rails 3.1): can't get source as url to work
Hey,
I''m able to duplicate everything in Ryan Bates'' screencast on jQueryUI
autocomplete (#102<http://railscasts.com/episodes/102-auto-complete-association-revised>),
except for the piece that calls the server for completion data.
Here is my view html:
<input data-autocomplete-source="/searches" id="search-markets"
2011 Aug 12
9
What is Ruby on Rails able to do?
Hello Everybody,
I am starting with Rails and I am wandering questions about Rails
possibilities. Actually, I want to design an application that has
particular needs and I would like to know wether Rails can do them. As I
am newbie with Rails, I ask you these questions.
Basically, it is possible to execute shell commands from a rails pages
(eg: I want to launch a c++ program)?
Can it define a
2008 May 30
1
Prototype doesn't work if we have swf content on the same page
I having to many troubles with prototype and scriptaculous when i have
object tag to embed swf content on webpage. First it conflict with
adsense and the page can''t be showed on IE6, fine, i remove adsense
banners. But my lightbox galery(maded with prototype) doesn''t work if
i had swf content from youtube...
Some body can help with this problem?
I''m starting hate
2011 Sep 24
4
Heroku Slugsize shot up drastically
Hi,
Locally my application is 7MB without tests and logs, etc. The .git
folder is 29 MB. I also have no gems / plugins in vendor folder. 95%
of images sit on S3. However on committing to Heroku it shows ----->
Compiled slug size is 62.7MB
What is wrong? It happened?
To add more context my .gitignore file is .bundle, db/.sqlite3, config/
database.yml, log/.log, tmp/, .idea, .redcar,
2019 Jan 29
3
lld write wrong symbol value in .data section if enable -pie
Hi Rui,
> but why don't you use lld-link (lld for Windows target) instead of ld.lld (lld for Unix target) to create UEFI applications?
I need support both PE/COFF and ELF format tools. I’m also working on the lld-link enabling (clang-cl + lld-link) in both Linux and windows. The ld.lld enabling (clang + ld.lld) is for ELF format native users. E.g.
2010 Oct 28
4
how do i find the trigger of an 'unknown' action
hi , in my logs i see that:
Completed in 1480ms (View: 267, DB: 90) | 200 OK [http://192.168.2.9/xyz/99]
SQL (1.4ms) SET NAMES ''utf8''
SQL (0.7ms) SET SQL_AUTO_IS_NULL=0
Processing xyzsController#images to gif (for 192.168.2.3 at 2010-10-28
15:22:35) [GET]
Parameters: {"id"=>"loading"}
ActionController::UnknownAction (No action responded to