[#394281] Can someone throw me a bone — Bob Baird <lists@...>

Hi all,

14 messages 2012/04/02

[#394311] using hash as database? Secure databases with ruby? — ruby rocks <lists@...>

I am new to programming and am learning ruby as my first language. I

16 messages 2012/04/03
[#394315] Re: using hash as database? Secure databases with ruby? — Hassan Schroeder <hassan.schroeder@...> 2012/04/03

On Tue, Apr 3, 2012 at 10:30 AM, ruby rocks <lists@ruby-forum.com> wrote:

[#394318] Re: using hash as database? Secure databases with ruby? — ruby rocks <lists@...> 2012/04/03

Hassan Schroeder wrote in post #1054862:

[#394320] Re: using hash as database? Secure databases with ruby? — Florian Gilcher <flo@...> 2012/04/03

[#394321] Re: using hash as database? Secure databases with ruby? — ruby rocks <lists@...> 2012/04/03

Florian Gilcher wrote in post #1054875:

[#394375] Call for comments - Structure — Hal Fulton <rubyhacker@...>

Greetings, fellow Rubyists...

14 messages 2012/04/04

[#394390] Design pattern question — James French <James.French@...>

Hi group,

15 messages 2012/04/05

[#394471] How to pull out specific part of a variable and set to another variable? — "Charlie B." <lists@...>

I have a variable that is a long string. The variable looks like this:

9 messages 2012/04/09

[#394492] New to Ruby, tutorial gives wrong example. — Roger McDonald <lists@...>

I am just starting with Ruby with intention to learn and perhaps use it

11 messages 2012/04/10

[#394533] A Beginner's Question about Metaprogramming — Phil Stone <lists@...>

Hey guys, have a question about Ruby programming and found this forum

20 messages 2012/04/10

[#394616] How to test if array element exists? — Soul Surf <lists@...>

I'm new to Ruby and just want to test if an array element exists. Here's

11 messages 2012/04/13

[#394642] how to avoid escaping special chars after backslah in string — Lucky Nl <lists@...>

Hi friends,

13 messages 2012/04/13
[#394645] Re: how to avoid escaping special chars after backslah in string — Roger Pack <lists@...> 2012/04/13

so what's your ideal syntax here?

[#394658] Why doesn't Fixnum#to_d exist? — Mark Campbell <nitrodist@...>

http://stdlib.rubyonrails.org/libdoc/bigdecimal/rdoc/index.html

15 messages 2012/04/13
[#394660] Re: Why doesn't Fixnum#to_d exist? — Bartosz Dziewoński <matma.rex@...> 2012/04/13

It does exist, but it's in a separate file - bigdecimal/util or utils,

[#394663] Re: Why doesn't Fixnum#to_d exist? — Mark Campbell <nitrodist@...> 2012/04/13

Yes, that file has the String#to_d, Float#to_d and Rational#to_d.

[#394675] Operator overloading of the subscript operator — Ralph Shnelvar <ralphs@...32.com>

I understand that operators (e.g. +, -, *, []) are nothing more than method names so that

16 messages 2012/04/14
[#394677] Re: Operator overloading of the subscript operator — "Jan E." <lists@...> 2012/04/14

Hi,

[#394678] Re: Operator overloading of the subscript operator — Ralph Shnelvar <ralphs@...32.com> 2012/04/14

Jan,

[#394767] Capital Cyrillic letter in Ruby class name (UTF-8) — Vladimir Kerimov <lists@...>

Hi matz,

22 messages 2012/04/17

[#394803] Why must I know whether I extend a class or a module? — Marc Heiler <lists@...>

Hi.

18 messages 2012/04/18
[#394843] Re: Why must I know whether I extend a class or a module? — Intransition <transfire@...> 2012/04/19

On Wednesday, April 18, 2012 1:13:17 PM UTC-4, Marc Heiler wrote:

[#394853] How can i make the colorful font with black background for puts? — gmspro gmspro <lists@...>

puts 'Hello World."

10 messages 2012/04/19

[#394865] finding duplicates in an array and its index number — newto ruby <lists@...>

Hi,

11 messages 2012/04/19

[#394964] To developers of Ruby: Feeble documentation - weakness of Ruby and the Ruby on Rails (2nd edition) — Sergey Ezhov <lists@...>

RGlyZWN0bHkgSSBhcG9sb2dpemUgZm9yIG15IEVuZ2xpc2ggLSBJIHVzZWQg

13 messages 2012/04/23
[#394971] Re: To developers of Ruby: Feeble documentation - weakness of Ruby and the Ruby on Rails (2nd editio — Brian Candler <lists@...> 2012/04/23

I think you are a bit confused.

[#394969] gem-packed script with DATA section does not work — Wybo Dekker <wybo@...4all.nl>

The attached minimal gem contains a script that reads "Hello World!"

20 messages 2012/04/23
[#394970] Re: gem-packed script with DATA section does not work — Xavier Noria <fxn@...> 2012/04/23

DATA points to the contents after the __END__ directive of the executable

[#394973] Re: gem-packed script with DATA section does not work — Wybo Dekker <wybo@...4all.nl> 2012/04/23

On 2012-04-23 11:39, Xavier Noria wrote:

[#394988] Re: gem-packed script with DATA section does not work — Ryan Davis <ryand-ruby@...> 2012/04/23

[#394997] Re: gem-packed script with DATA section does not work — Peter Zotov <whitequark@...> 2012/04/23

Ryan Davis писал 23.04.2012 22:58:

[#395024] -BEGINNERS- Where do I Start? — "Thought M." <lists@...>

Hello World....... I am very new to code but have been glancing at it

13 messages 2012/04/25

[#395035] if if if statment — fox foxmaster <lists@...>

Hi all,

19 messages 2012/04/25

[#395085] Wrappng up my Text Game! Need Help! — Jared Hobbs <lists@...>

Hi, everyone. This is my first post!

18 messages 2012/04/26

[#395099] ruby/shoes GUI - sqlite, how to isert a variable key in table? — "Danilo L." <lists@...>

Hello, I am struggling to insert a variable into a table, for example:

17 messages 2012/04/27
[#395104] Re: ruby/shoes GUI - sqlite, how to isert a variable key in table? — Zachary Scott <zachary@...> 2012/04/27

Hi Danilo, How are you enjoying shoooes?

[#395105] Re: ruby/shoes GUI - sqlite, how to isert a variable key in table? — Michel <michel.revesche@...> 2012/04/27

[#395113] why does this return 255 bits instead of 256 (and general bit byte hex string array crypt mayhem :P) — instance_variable ok <lists@...>

So I am doing something that requires me to manipulate things on the bit

14 messages 2012/04/27

[#395193] delete character from array — Ok Ok <lists@...>

Here is my question...

17 messages 2012/04/30
[#395196] Re: delete character from array — Ok Ok <lists@...> 2012/04/30

Yes that was exactly it. I have one more question maybe you can help me

Action Controller exception caught error with active admin?

From: michael aubry <lists@...>
Date: 2012-04-21 23:24:22 UTC
List: ruby-talk #394945
I am having an issue with active admin... everything has gone by
smoothly until I try to go to http://localhost:3000/admin/login I get
[IMG]http://img15.imageshack.us/img15/765/capturecd.jpg[/IMG]

[code]$ rails server
=> Booting WEBrick
=> Rails 3.2.3 application starting in development on
http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2012-04-21 18:08:49] INFO  WEBrick 1.3.1
[2012-04-21 18:08:49] INFO  ruby 1.9.3 (2012-02-16) [i386-mingw32]
[2012-04-21 18:08:49] INFO  WEBrick::HTTPServer#start: pid=992 port=3000


Started GET "/assets/rails.png" for 127.0.0.1 at 2012-04-21 18:13:59
-0500
Served asset /rails.png - 304 Not Modified (38ms)
[2012-04-21 18:14:00] WARN  Could not determine content-length of
response body. Set content-length of the respons
e or set Response#chunked = true


Started GET "/admin" for 127.0.0.1 at 2012-04-21 18:14:06 -0500
Processing by Admin::DashboardController#index as HTML
Completed 401 Unauthorized in 2ms


Started GET "/admin/login" for 127.0.0.1 at 2012-04-21 18:14:06 -0500
Processing by ActiveAdmin::Devise::SessionsController#new as HTML
  Rendered
c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activeadmin-0.4.3/app/views/active_admin/devise/se
ssions/new.html.erb within layouts/active_admin_logged_out (691.0ms)
Completed 500 Internal Server Error in 932ms

ActionView::Template::Error (super: no superclass method `buttons' for
#<ActiveAdmin::FormBuilder:0x3519ff0>):
    8:       f.input :password
    9:       f.input :remember_me, :as => :boolean, :if =>  false
#devise_mapping.rememberable? }
    10:     end
    11:     f.buttons do
    12:       f.commit_button "Login"
    13:     end
    14:   end
  activeadmin (0.4.3) lib/active_admin/form_builder.rb:30:in `block in
buttons'
  activeadmin (0.4.3) lib/active_admin/form_builder.rb:118:in
`with_new_form_buffer'
  activeadmin (0.4.3) lib/active_admin/form_builder.rb:29:in `buttons'
  activeadmin (0.4.3)
app/views/active_admin/devise/sessions/new.html.erb:11:in `block in
_c___ails_nstaller__uby_
_____lib_ruby_gems_______gems_activeadmin_______app_views_active_admin_devise_sessions_new_html_erb__100301699_269
92284'
  actionpack (3.2.3) lib/action_view/helpers/capture_helper.rb:40:in
`block in capture'
  actionpack (3.2.3) lib/action_view/helpers/capture_helper.rb:187:in
`with_output_buffer'
  actionpack (3.2.3) lib/action_view/helpers/capture_helper.rb:40:in
`capture'
  actionpack (3.2.3) lib/action_view/helpers/form_helper.rb:606:in
`fields_for'
  actionpack (3.2.3) lib/action_view/helpers/form_helper.rb:377:in
`form_for'
  formtastic (2.2.0) lib/formtastic/helpers/form_helper.rb:161:in `block
in semantic_form_for'
  formtastic (2.2.0) lib/formtastic/helpers/form_helper.rb:192:in
`with_custom_field_error_proc'
  formtastic (2.2.0) lib/formtastic/helpers/form_helper.rb:160:in
`semantic_form_for'
  activeadmin (0.4.3) lib/active_admin/view_helpers/form_helper.rb:8:in
`active_admin_form_for'
  activeadmin (0.4.3)
app/views/active_admin/devise/sessions/new.html.erb:5:in
`_c___ails_nstaller__uby______lib_r
uby_gems_______gems_activeadmin_______app_views_active_admin_devise_sessions_new_html_erb__100301699_26992284'
  actionpack (3.2.3) lib/action_view/template.rb:143:in `block in
render'
  activesupport (3.2.3) lib/active_support/notifications.rb:125:in
`instrument'
  actionpack (3.2.3) lib/action_view/template.rb:141:in `render'
  actionpack (3.2.3) lib/action_view/renderer/template_renderer.rb:47:in
`block (2 levels) in render_template'
  actionpack (3.2.3) lib/action_view/renderer/abstract_renderer.rb:38:in
`block in instrument'
  activesupport (3.2.3) lib/active_support/notifications.rb:123:in
`block in instrument'
  activesupport (3.2.3)
lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  activesupport (3.2.3) lib/active_support/notifications.rb:123:in
`instrument'
  actionpack (3.2.3) lib/action_view/renderer/abstract_renderer.rb:38:in
`instrument'
  actionpack (3.2.3) lib/action_view/renderer/template_renderer.rb:46:in
`block in render_template'
  actionpack (3.2.3) lib/action_view/renderer/template_renderer.rb:54:in
`render_with_layout'
  actionpack (3.2.3) lib/action_view/renderer/template_renderer.rb:45:in
`render_template'
  actionpack (3.2.3) lib/action_view/renderer/template_renderer.rb:18:in
`render'
  actionpack (3.2.3) lib/action_view/renderer/renderer.rb:36:in
`render_template'
  actionpack (3.2.3) lib/action_view/renderer/renderer.rb:17:in `render'
  actionpack (3.2.3) lib/abstract_controller/rendering.rb:110:in
`_render_template'
  actionpack (3.2.3) lib/action_controller/metal/streaming.rb:225:in
`_render_template'
  actionpack (3.2.3) lib/abstract_controller/rendering.rb:103:in
`render_to_body'
  actionpack (3.2.3) lib/action_controller/metal/renderers.rb:28:in
`render_to_body'
  actionpack (3.2.3) lib/action_controller/metal/compatibility.rb:50:in
`render_to_body'
  actionpack (3.2.3) lib/abstract_controller/rendering.rb:88:in `render'
  actionpack (3.2.3) lib/action_controller/metal/rendering.rb:16:in
`render'
  actionpack (3.2.3)
lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels)
in render'
  activesupport (3.2.3) lib/active_support/core_ext/benchmark.rb:5:in
`block in ms'
  c:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/benchmark.rb:295:in
`realtime'
  activesupport (3.2.3) lib/active_support/core_ext/benchmark.rb:5:in
`ms'
  actionpack (3.2.3)
lib/action_controller/metal/instrumentation.rb:40:in `block in render'
 actionpack (3.2.3) lib/action_controller/metal/instrumentation.rb:83:in
`cleanup_view_runtime'
  activerecord (3.2.3)
lib/active_record/railties/controller_runtime.rb:24:in
`cleanup_view_runtime'
  actionpack (3.2.3)
lib/action_controller/metal/instrumentation.rb:39:in `render'
  actionpack (3.2.3)
lib/action_controller/metal/implicit_render.rb:10:in `default_render'
  actionpack (3.2.3) lib/action_controller/metal/responder.rb:232:in
`default_render'
  actionpack (3.2.3) lib/action_controller/metal/responder.rb:160:in
`to_html'
  actionpack (3.2.3) lib/action_controller/metal/responder.rb:153:in
`respond'
  actionpack (3.2.3) lib/action_controller/metal/responder.rb:146:in
`call'
  actionpack (3.2.3) lib/action_controller/metal/mime_responds.rb:239:in
`respond_with'
  devise (2.0.4) app/controllers/devise/sessions_controller.rb:9:in
`new'
  actionpack (3.2.3) lib/action_controller/metal/implicit_render.rb:4:in
`send_action'
  actionpack (3.2.3) lib/abstract_controller/base.rb:167:in
`process_action'
  actionpack (3.2.3) lib/action_controller/metal/rendering.rb:10:in
`process_action'
  actionpack (3.2.3) lib/abstract_controller/callbacks.rb:18:in `block
in process_action'
  activesupport (3.2.3) lib/active_support/callbacks.rb:436:in
`_run__496243681__process_action__195845156__callba
cks'
  activesupport (3.2.3) lib/active_support/callbacks.rb:405:in
`__run_callback'
  activesupport (3.2.3) lib/active_support/callbacks.rb:385:in
`_run_process_action_callbacks'
  activesupport (3.2.3) lib/active_support/callbacks.rb:81:in
`run_callbacks'
  actionpack (3.2.3) lib/abstract_controller/callbacks.rb:17:in
`process_action'
  actionpack (3.2.3) lib/action_controller/metal/rescue.rb:29:in
`process_action'
  actionpack (3.2.3)
lib/action_controller/metal/instrumentation.rb:30:in `block in
process_action'
  activesupport (3.2.3) lib/active_support/notifications.rb:123:in
`block in instrument'
  activesupport (3.2.3)
lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  activesupport (3.2.3) lib/active_support/notifications.rb:123:in
`instrument'
  actionpack (3.2.3)
lib/action_controller/metal/instrumentation.rb:29:in `process_action'
  actionpack (3.2.3)
lib/action_controller/metal/params_wrapper.rb:205:in `process_action'
  activerecord (3.2.3)
lib/active_record/railties/controller_runtime.rb:18:in `process_action'
  actionpack (3.2.3) lib/abstract_controller/base.rb:121:in `process'
  actionpack (3.2.3) lib/abstract_controller/rendering.rb:45:in
`process'
  actionpack (3.2.3) lib/action_controller/metal.rb:203:in `dispatch'
  actionpack (3.2.3)
lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
  actionpack (3.2.3) lib/action_controller/metal.rb:246:in `block in
action'
  actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:73:in
`call'
  actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:73:in
`dispatch'
  actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:36:in
`call'
  actionpack (3.2.3) lib/action_dispatch/routing/mapper.rb:40:in `call'
  journey (1.0.3) lib/journey/router.rb:68:in `block in call'
  journey (1.0.3) lib/journey/router.rb:56:in `each'
  journey (1.0.3) lib/journey/router.rb:56:in `call'
  actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:600:in
`call'
  sass (3.1.16) lib/sass/plugin/rack.rb:54:in `call'
  warden (1.1.1) lib/warden/manager.rb:35:in `block in call'
  warden (1.1.1) lib/warden/manager.rb:34:in `catch'
  warden (1.1.1) lib/warden/manager.rb:34:in `call'
actionpack (3.2.3)
lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
  rack (1.4.1) lib/rack/etag.rb:23:in `call'
  rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
  actionpack (3.2.3) lib/action_dispatch/middleware/head.rb:14:in `call'
  actionpack (3.2.3)
lib/action_dispatch/middleware/params_parser.rb:21:in `call'
  actionpack (3.2.3) lib/action_dispatch/middleware/flash.rb:242:in
`call'
  rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
  rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
  actionpack (3.2.3) lib/action_dispatch/middleware/cookies.rb:338:in
`call'
  activerecord (3.2.3) lib/active_record/query_cache.rb:64:in `call'
  activerecord (3.2.3)
lib/active_record/connection_adapters/abstract/connection_pool.rb:467:in
`call'
  actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in
`block in call'
  activesupport (3.2.3) lib/active_support/callbacks.rb:405:in
`_run__653525000__call__1064468843__callbacks'
  activesupport (3.2.3) lib/active_support/callbacks.rb:405:in
`__run_callback'
  activesupport (3.2.3) lib/active_support/callbacks.rb:385:in
`_run_call_callbacks'
  activesupport (3.2.3) lib/active_support/callbacks.rb:81:in
`run_callbacks'
  actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:27:in
`call'
  actionpack (3.2.3) lib/action_dispatch/middleware/reloader.rb:65:in
`call'
  actionpack (3.2.3) lib/action_dispatch/middleware/remote_ip.rb:31:in
`call'
  actionpack (3.2.3)
lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
  actionpack (3.2.3)
lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  railties (3.2.3) lib/rails/rack/logger.rb:26:in `call_app'
  railties (3.2.3) lib/rails/rack/logger.rb:16:in `call'
  actionpack (3.2.3) lib/action_dispatch/middleware/request_id.rb:22:in
`call'
  rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
  rack (1.4.1) lib/rack/runtime.rb:17:in `call'
  activesupport (3.2.3)
lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  rack (1.4.1) lib/rack/lock.rb:15:in `call'
  actionpack (3.2.3) lib/action_dispatch/middleware/static.rb:62:in
`call'
  railties (3.2.3) lib/rails/engine.rb:479:in `call'
  railties (3.2.3) lib/rails/application.rb:220:in `call'
  rack (1.4.1) lib/rack/content_length.rb:14:in `call'
  railties (3.2.3) lib/rails/rack/log_tailer.rb:14:in `call'
  rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
  c:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/webrick/httpserver.rb:138:in
`service'
  c:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/webrick/httpserver.rb:94:in
`run'
  c:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/webrick/server.rb:191:in
`block in start_thread'
Rendered
c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middlewa
mplates/rescues/_trace.erb (6.0ms)
  Rendered
c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middlewa
mplates/rescues/_request_and_response.erb (2.0ms)
  Rendered
c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middlewa
mplates/rescues/template_error.erb within rescues/layout (46.0ms)[/code]

Any Ideas?

-- 
Posted via http://www.ruby-forum.com/.

In This Thread

Prev Next