Displaying 20 results from an estimated 5000 matches similar to: "create e menu for navigation."
2006 Jul 24
1
Tabnav Plugin: Tabbed navigation made easy
Hi guys, this is just to let you know I''ve just released a rails plugin
that lets you build tabbed navigation very easily and quickly.
you can check it out here:
http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app
I''m posting this via ruby-forum so if you have questions or suggestion
please drop me an email at staff@seesaw.it
2012 Oct 18
0
unexpected return (LocalJumpError) only when executing this code within autoloaded classes?
Posted on stackoverflow but no traction yet:
http://stackoverflow.com/questions/12942505/why-does-using-set-trace-func-work-in-some-places-but-cause-unexpected-return-l
The following is a generified part of the code in a gem I''m working on:
module SomeModule
class << self
attr_accessor :procedure
def log_events(*args)
args.flatten!
2012 Oct 23
0
route problem
Hello
I have this routes.rb
Tamara::Application.routes.draw do
ActiveAdmin.routes(self)
devise_for :admin_users, ActiveAdmin::Devise.config
resources :users
resources :category do
resources :berichten
end
end
So I thought that localhost:3000/<category>/bericht/new I could write a new
bericht which is stored in the <categoryname>
But when I look at rake routes
2007 Aug 22
1
Tabbed Navigation
Went back and forth a bit trying to find out the easiest way to do this.
Found a plugin but it didn''t seem very stable/well written.
This is what I have going right now:
- if @content_for_recipe_editor_tabs
= yield :recipe_editor_tabs
- else
= tabbed_navigator(RecipesController.send "edit_tabs")
If any templates/sub-templates/partials used in this render have
2006 Aug 01
1
Newbie help re: "dynamic" navigation menu
Hi
I am trying to get my head around how you would "efficiently" do a
left-hand navigation menu structure derived from various database table
entries.
Example is loosely based on AWDwR''s depot app. Say you wanted to
instead to have the left-hand nav links show the following:
Books
book title 1
book title 2
...
CDs
CD title 1
CD title 2
...
with
2005 Dec 15
6
Navigation menu
I have a navigation menu that contains a link per controller in my
application.
This menu is the same for all controllers, but I want this behaviour:
<a>Users</a>
<span>Statistics</span>
and
<span>Users</span>
<a>Statistics</a>
depending on the page you''re currently on.
I''ve put a <render :partial =>
2012 Jan 26
2
Problem while creating new resource on ActiveAdmin
HI All,
I have installed the Active Admin successfully, but facing the following
error while restarting the server after generating an resource.
*rails generate active_admin:resource item*
/home/logs/Desktop/training/RAILS/courier/app/admin/items.rb:1:in `<top
(required)>'': uninitialized constant Item (NameError)
from
2012 Jan 23
0
Problem loading modules through ActiveSupport on_load
Working with modules to group certain methods. Currently I have this
set up and it works:
**# app/models/a.rb**
class A
has_history
end
**# lib/history.rb**
module History
module Model
def self.included(base)
base.send :extend, ClassMethods
end
module ClassMethods
def has_history(options = {})
send :include,
2012 Jan 01
0
an advice for menu navigation.
I''m using simple-navigation but I want try other solutions, for
example with jquery.
What do you use for navigation menus with one or more levels?
--
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
2006 Aug 24
2
Streamlined - Navigation Menu
Hi All,
I am using Streamlined framework. Currently, the navigation menu is on
the left side of the application. I''d like to move it to right side.
How would I do it?
Thanks a lot,
Luan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send
2010 Apr 09
2
dynamically linking to ajax.googleapis jquery
Hi
I am using jquery and jqueryui in my application And in layout I use
<%= javascript_include_tag
"http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"%>
<%= javascript_include_tag
"http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js" %>
<%= stylesheet_link_tag
2011 Aug 23
13
Is OSX Lion a valid choice yet? Any issues?
Hi,
My Snow Leopard just let me down and now it could be a "good" moment to
upgrade to Lion.
But I''m not sure is it an option yet.
I would be using Rails 3.0.9, Ruby 1.9.2 via RVM. Postgresql DB. And
probably some stuff via homebrew. Git, Versions and that type of stuff.
Are the lights red for Lion since it is so fresh?
Any experiences?
Thanks.
--
Posted via
2009 Apr 04
11
rake aborted! undefined method `empty?' for nil:NilClass
Hi,
I''m getting the next errors, would anyone have any suggestions?
Thanks.
[~/rails/hip]# rake --trace db:migrate RAILS_ENV="production"
(in /home/domain/rails/hip)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method `empty?'' for nil:NilClass
/usr/lib/ruby/1.8/erb.rb:469:in `scan''
2010 Jan 08
6
How to change a rails app to INstant rails app???
i have a rails app , i need to change that app to instant rails app.
i have been using Net beans as IDE
is der an easy step to do that???
rather creating a new one by copy paste?
--
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
2011 Jan 11
9
Can I omit respond_with.
If I don''t want xml results but only html can I omit respond_with in
some actions?
For example index from:
respond_with(@sectors = Sector.all)
becomes only
@sectors = Sector.all
isn''t it?
--
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
2012 May 10
1
getting started with jQuery rails 3.2
Hi all,
I''m trying to work out how to get started using some jQuery in my rails
app.
rails -v = 3.2.2
ruby -v = 1.9.3-p194
I''m only sporadically a web-developer, and still quite inexperienced
with jQuery especially, so I may be making an obvious mistake.
Essentially, I''ve done very little after creating a new app, I''ve learnt
that jQuery is included by
2015 Nov 17
12
3.7.1-rc1 has been tagged. Let's begin testing!
Hi,
I have just tagged 3.7.1-rc1, so it is ready for testing. As a
reminder, when doing regression testing, use the 3.7.0 release
as your baseline.
Thanks,
Tom
2010 Nov 18
7
Rails 3 ActiveRecord queries - I'm missing something very BIG
Hi,
I know I am missing something very big regarding the changes with
respect to activerecord in Rails 3.
I can''t find the explanation. And I''m sure someone will kick my ass for
not
finding the right piece of info in the docs and guides. Please do.
I have a working piece of code but I don''t like it.
So. Very basic association:
class Project < ActiveRecord::Base
2013 Jul 04
1
simple-navigation items from database
Hello, i would like to ask how can i generate menu items from database
using simple-navigation ? i was looking in documentation
https://github.com/andi/simple-navigation/wiki/Dynamic-Navigation-Items
but i dont get it.
i have default config/navigation.rb
SimpleNavigation::Configuration.run do |navigation|
...
end
and i have database
categories
id
category_id
name
how can i generate a
2016 Jun 17
2
Attempt to modify memory sanitizer for support of X86
Hello,
I'm quite new to LLVM, but I'm interested in memory sanitizer. The petty thing is, that 32bit addressing on Linux is not supported. Thus I tried to take the latest version of the software and to modify it, using Ubuntu 16.04 as operating system. Given the example
example.c:
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv) {
int *a = (int