similar to: Get current url

Displaying 20 results from an estimated 120 matches similar to: "Get current url"

2013 Nov 08
2
Export CSV
Hi friends, i am using csv export on my application. in my view file code is <%- headers = ["Transaction ID", "Activity ID", "Product Name","Customer Name", "Ticket code"] -%> <%= CSV.generate_line(headers).strip %> <%if !@trans.nil? && @trans.length > 0 %> <% @trans.each do |tran|%> <% if
2013 Oct 29
1
Time.at
Hi friends, now i upgrade my ruby version 2.0.0. How can use Time.at In ruby 2.0.0. Thanks for advance. -- 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, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to
2004 Oct 18
3
[LLVMdev] Fix for non-standard variable length array + Visual C X86 specific code
Chris Lattner wrote: > Can you explain what goes wrong without the stub? It's the only part that > I didn't apply. The X86 backend doesn't get registered since there are no references to symbols in X86TargetMachine the object file is never pulled in from the library I create, and thus the static intializer for the RegisterTarget is never called...
2013 Jan 09
0
[LLVMdev] Using C++'11 language features in LLVM itself
On 1/8/2013 8:30 PM, Chris Lattner wrote: > Wow, requiring GCC 4.7 would be really aggressive, it was just > released in March 2012. Call me conservative, but I was thinking that > a reasonable GCC baseline would be GCC 4.4 or something (which is ~3.5 > years old). On considering which versions get you various C++11 goodies, I'd personally recommend gcc 4.5 as the baseline:
2013 Jan 09
8
[LLVMdev] Using C++'11 language features in LLVM itself
On Jan 8, 2013, at 4:24 PM, dag at cray.com wrote: > I am personally very much in favor of this. C++11 really is a huge leap > from C++03 in terms of readability, maintainability and safety. I agree completely. > Why not C++11 libraries? Implementation/capatability reasons? I don't > know anything about how the various implementation compare in terms of > completeness. But
2004 Oct 18
0
[LLVMdev] Fix for non-standard variable length array + Visual C X86 specific code
On Mon, 18 Oct 2004, Morten Ofstad wrote: > Chris Lattner wrote: > > Can you explain what goes wrong without the stub? It's the only part that > > I didn't apply. > > The X86 backend doesn't get registered since there are no references to > symbols in X86TargetMachine the object file is never pulled in from the > library I create, and thus the static
2004 Oct 18
0
[LLVMdev] Fix for non-standard variable length array + Visual C X86 specific code
On Mon, 18 Oct 2004, Morten Ofstad wrote: > To reduce the number of mails, I also include my next patch -- X86 > specific code and inline assembly for Visual C, unfortunately I had to > use the nasty IncludeFile trick again to get the linker to work.. I applied most of this here: http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20041018/019493.html Can you explain what goes
2004 Oct 18
3
[LLVMdev] Fix for non-standard variable length array + Visual C X86 specific code
Paolo Invernizzi wrote: > There was a similar problem some time ago, and was resolved with alloca. > I think it's a better solution to use the stack instead of the heap... I tend to agree, but the constructors won't get called if it's an object array -- anyway, this particular case there was no objects, just pointers and bools so alloca should be fine. I'll leave it to
2006 Jan 20
4
[newbie]how to use link_to to link to another controller?
I am just diving into Rails and I am a bit puzzled by the link_to function. am writing an app to display my photographs in categories. My application layout has a sidebar to show a menu with categories from the categories table in the database (like in taken from the tutorials), to be shown on every page. I managed to get a global @menu_categories object that keeps track of all the categories
2013 May 26
6
[PATCH v8, part3 12/14] mm: correctly update zone->mamaged_pages
Enhance adjust_managed_page_count() to adjust totalhigh_pages for highmem pages. And change code which directly adjusts totalram_pages to use adjust_managed_page_count() because it adjusts totalram_pages, totalhigh_pages and zone->managed_pages altogether in a safe way. Remove inc_totalhigh_pages() and dec_totalhigh_pages() from xen/balloon driver bacause adjust_managed_page_count() has
2013 May 26
6
[PATCH v8, part3 12/14] mm: correctly update zone->mamaged_pages
Enhance adjust_managed_page_count() to adjust totalhigh_pages for highmem pages. And change code which directly adjusts totalram_pages to use adjust_managed_page_count() because it adjusts totalram_pages, totalhigh_pages and zone->managed_pages altogether in a safe way. Remove inc_totalhigh_pages() and dec_totalhigh_pages() from xen/balloon driver bacause adjust_managed_page_count() has
2013 May 26
6
[PATCH v8, part3 12/14] mm: correctly update zone->mamaged_pages
Enhance adjust_managed_page_count() to adjust totalhigh_pages for highmem pages. And change code which directly adjusts totalram_pages to use adjust_managed_page_count() because it adjusts totalram_pages, totalhigh_pages and zone->managed_pages altogether in a safe way. Remove inc_totalhigh_pages() and dec_totalhigh_pages() from xen/balloon driver bacause adjust_managed_page_count() has
2006 Jun 17
2
RJS templates - newbie
I am trying to test drive RJS templates in Rails 1.2. Here is what I did: create table categories (name varchar(255) ); rails RJSTest cd RJSTest rake update_javascripts script/generate controller home index add script/generate model category Note: When I did a rake update_javascripts, I did not see any output. I configured database.yml to talk to mysql. Next I wrote
2006 Feb 28
0
Catching the table/database deletion case in a controller for mysql
Hi All, I have created a empty rails app and created some controllers and models using scaffold command e.g.,ruby script\generate scaffold newrecipe After creating some records suppose some user deleted the table/database itself. How to catch this case in a conroller of rails F/W? Thanks for any early inputs. With Regards, -Nagendra Kumar -------------- next part -------------- An HTML
2006 Feb 04
0
home install frustration
Hello list, I''m new to rails (and first time poster here). I''m trying to get rails installed on my shell, haxeh.com, and I''m having some issues. First, some background: - I have installed ruby to ~/local/bin/ruby - I have installed rubygems to ~/local/bin/gem with all gem installs going into ~/.gems - I have also installed a bunch of gems, including rails, and they
2013 Jan 09
2
[LLVMdev] Using C++'11 language features in LLVM itself
On Tue, Jan 8, 2013 at 8:23 PM, Joshua Cranmer <pidgeot18 at gmail.com> wrote: > On 1/8/2013 8:30 PM, Chris Lattner wrote: >> >> Wow, requiring GCC 4.7 would be really aggressive, it was just released in >> March 2012. Call me conservative, but I was thinking that a reasonable GCC >> baseline would be GCC 4.4 or something (which is ~3.5 years old). > > >
2005 Aug 09
3
Adding created_by and updated_by trouble
Hi everyone. This is a real noob question that I''m hoping someone out there can help me with. I have followed the tutorial How to Ad created_by and updated_b<http://wiki.rubyonrails.com/rails/show/Howto%20Add%20created_by%20and%20updated_by>y and it works ok for retrieving the data. I''m using the Login_Generator. I cannot get it to work on create or update. I think
2006 Jun 01
3
how can i redirect a person after a login
i built my own login system, but unfortunately, i am having problems (ie, can''t really figure out how) to redirect a person back to the page he was requesting before logging in...say, as the admin i want to edit a certain message/logo, whatever, so i click on it, and i get redirected to my login page. after the admin logs in, he gets redirected to the homepage - i couldn''t
2004 Oct 18
2
[LLVMdev] Fix for non-standard variable length array + Visual C X86 specific code
Chris Lattner wrote: >>>Can you explain what goes wrong without the stub? It's the only part that >>>I didn't apply. >> >>The X86 backend doesn't get registered since there are no references to >>symbols in X86TargetMachine the object file is never pulled in from the >>library I create, and thus the static intializer for the RegisterTarget
2020 Oct 08
2
Is Samba unable to resolve secodary group membership?
Am 07.10.20 um 17:29 schrieb Rowland penny via samba: > On 07/10/2020 16:00, Michael Schwarz via samba wrote: >> Hello, >> >> I have a somewhat complicated problem and so far I have not been able >> to find any hints that have brought me further towards a solution: > This is a bit hard to follow, but certain things stand out, your > smb.conf file is from a Unix