similar to: Conditional execution of javascript / embedding Cappuccino files into Rails

Displaying 20 results from an estimated 9000 matches similar to: "Conditional execution of javascript / embedding Cappuccino files into Rails"

2010 Sep 03
1
Action Controller Error: undefined local variable or method `current_user'
Newbie learning Rails. I''m currently on Chp9 here: http://railstutorial.org/chapters/sign-in-sign-out#top At the end of the tutorial, rails is erroring (see below). being new to Rails and after having checked the tutorial... How do you resolve this kind of error. It''s saying current_user is not defined, and it is supposed to be defined with/Sites/sample_app/app/helpers/
2011 Jun 12
3
Problem with undefined variable current_user
Hi everyone, I''m working through the tutorial at the following link and attempting to customise/adapt the lessons for my own slightly different application. Link: Ruby on Rails Tutorial: Learn Rails by Example | Ruby on Rails 3 Tutorial book and screencasts | by Michael Hartl <http://ruby.railstutorial.org/ruby-on-rails-tutorial-book> I''m currently trying to work
2006 May 04
5
I''m writing an article about Rails and I need help
Hi to everybody, I''m writing an article about Ruby on Rails and I need to gather some information about the project and the community of core developers. In particular I''d like to know something about the organization of the project (how are decisions taken, who decides what goes into the project, conflict resolution, contributions acceptance...) and something more technical
2011 Oct 14
2
before_save :encrypt_password
I am having a problem finding the best way to make a "before_save :encrypt_password" conditional. I have to at times update user model attributes but each time I do this the password is reencrypted because of the above. I need to differentiate between when the user is first logging in and the password does need to be encrypted, and when they are already logged in and the
2011 Feb 14
0
Devise is causing the [The change you wanted was rejected.] Error...
I am using the custom made Devise controller. I moved from PHP to Rails that, old users password are stored in Devise:user table in form of "devise_encryption(oldencryption(password))" If an user login, and app finds out that this user''s password is in form of "devise_encryption(oldencryption(password))", I then change it in to a form of
2011 Jul 08
3
Win7 unable to join domain if PDC has a static IP address
I've seen this asked before in various forums and even on here, but never answered; here is a list of the symptoms and what I have done, hopefully someone here will have a solution. I have an Ubuntu10.04 server running samba3.4.7 and I have a (fleet of) Lenovo Thinkpad Edge's running win7Pro64 If the Samba server has been assigned a static IP address then the Lenovo will not join the
2009 Feb 06
4
Full Ajax Application
Hello, I''m a newbie here... please... can anyone help me about FULL AJAX ? for example if i''m scaffolding a simple model and controller for product which only have 1 field for NAME:STRING with the command : script/generate scaffold Product name:string and for the generated code I like to turn it into a full ajax app, for example if i''m click the NEW or EDIT link it
2013 May 01
2
Is there any way to update the javascript when I reload the page using rails?
Hi, I need fix any bugs in a rails project. The problem is every time I change anything in javascript I have to make bundle exec rake rails_group=assets assets:clean RAILS_ENV=development and then bundle exec rake rails_group=assets assets:precompile RAILS_ENV=development and finaly restart the rails server. This way spend 10 min. Exists any other solution? -- You received this message
2012 Feb 01
6
Does Devise make use of a "status" method? Weird bug.
So I''ve inherited a legacy application and I''m trying to work around the edges as I put an admin tool interface on top of the existing code base. I install Devise for user authentication, since I''ve used it in the past. I change none of the default code. And yet, on successful sign in, I get an error: Render and/or redirect were called multiple times in this action.
2010 Mar 06
7
form_for, submit, and parameters disappearing
Consider the following: -- 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
2013 Jan 02
0
[LLVMdev] LLVM IR execution in JavaScript
> I compiled parts of LLVM to JavaScript using emscripten and made a demo of parsing and executing LLVM assembly, > > http://kripken.github.com/llvm.js/demo.html > > Basically you enter some LLVM IR, press a button and see the output of compiling and running it, directly in the browser. > > This was done mainly as a fun hacking project over the holidays, but I'm posting it
2013 Jan 02
1
[LLVMdev] LLVM IR execution in JavaScript
On 02.01.2013, at 20:50, Alon Zakai wrote: > I agree both are useful approaches. I went with clientside-everything in this demo because I work on that stuff and like it ;) Oh, I agree that it is awesome. It just froze my browser completely for several seconds just compiling the Hello World program. Sebastian
2013 Jan 02
0
[LLVMdev] LLVM IR execution in JavaScript
----- Original Message ----- > From: "Sebastian Redl" <sebastian.redl at getdesigned.at> > To: "Alon Zakai" <azakai at mozilla.com> > Cc: "llvmdev" <llvmdev at cs.uiuc.edu>, "Eli Bendersky" <eliben at google.com> > Sent: Wednesday, January 2, 2013 11:44:27 AM > Subject: Re: [LLVMdev] LLVM IR execution in JavaScript >
2013 Jan 02
2
[LLVMdev] LLVM IR execution in JavaScript
Hi everyone, I compiled parts of LLVM to JavaScript using emscripten and made a demo of parsing and executing LLVM assembly, http://kripken.github.com/llvm.js/demo.html Basically you enter some LLVM IR, press a button and see the output of compiling and running it, directly in the browser. This was done mainly as a fun hacking project over the holidays, but I'm posting it here in case
2013 Jan 02
2
[LLVMdev] LLVM IR execution in JavaScript
On 02.01.2013, at 20:37, Alon Zakai wrote: > > > ----- Original Message ----- >> From: "Sebastian Redl" <sebastian.redl at getdesigned.at> >> >> It would be awesome to combine the llvm.org demo with the in-browser >> emscripten (or possibly a server-side emscripten) so that the user >> can execute his snippets in the browser. >>
2016 Oct 29
1
Embedding LLD version to executables
On Wed, Oct 26, 2016 at 4:16 AM, Joerg Sonnenberger via llvm-dev < llvm-dev at lists.llvm.org> wrote: > On Tue, Oct 25, 2016 at 06:07:09PM -0400, Rafael EspĂ­ndola via llvm-dev > wrote: > > I am ok with both ".note.linker-version" and adding an entry to .comment. > > There is one important different between the two -- strip normally has > to preserve the
2016 Oct 26
2
Embedding LLD version to executables
On Tue, Oct 25, 2016 at 06:07:09PM -0400, Rafael EspĂ­ndola via llvm-dev wrote: > I am ok with both ".note.linker-version" and adding an entry to .comment. There is one important different between the two -- strip normally has to preserve the former, but not the latter. As such, I'd quite a bit prefer using .comment. Joerg
2013 Jan 02
0
[LLVMdev] LLVM IR execution in JavaScript
----- Original Message ----- > From: "Sebastian Redl" <sebastian.redl at getdesigned.at> > To: "Eli Bendersky" <eliben at google.com> > Cc: "Alon Zakai" <azakai at mozilla.com>, "llvmdev" <llvmdev at cs.uiuc.edu> > Sent: Wednesday, January 2, 2013 11:24:33 AM > Subject: Re: [LLVMdev] LLVM IR execution in JavaScript >
2011 Sep 05
0
How to display controller specific javascript in rails 3.1?
I have my assets folder structure like this assets javascripts products --product.js --productValidate.js store --store.js I want the project.js and projectValidate.js to be added in my application.js as a part of asset pipe-lining only when actions in product controller is called and store.js when actions in store controller is called. How can i achieve this in rails
2013 May 29
2
Why can't get remote javascript libraries on Rails 4
In rails 3, I included this line: *<%= javascript_include_tag "http://cdn.leafletjs.com/leaflet-0.5.1/leaflet.js" %>* But when migrate to rails 4, its not posible and I get the next error: *Invalid argument - C:/Ruby193/findiner/app/assets/javascripts/http://cdn.leafletjs.com/leaflet-0.5.1 * So far, I won''t be able to get remote libraries. Thanks for help! -- You