Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3664952
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T01:42:14+00:00 2026-05-19T01:42:14+00:00

I use Rails 3, Capybara 0.4.0, Akephalos (https://github.com/sorentwo/akephalos) Selenium-webdriver and Rspec 2. I use

  • 0

I use Rails 3, Capybara 0.4.0, Akephalos (https://github.com/sorentwo/akephalos) Selenium-webdriver and Rspec 2. I use ruby 1.9

I have the following spec:

  scenario "Create a new Group course with complex name" do
      school = School.make!
      switch_to_subdomain(school)
      course_group = CourseGroup.make

      click_link("Asignaturas")
      click_link("Nuevo grupo")
      fill_in('Nombre del curso', :with => 'Cuarto de E.S.O - Opción de Ciencias')
      fill_in('course_group_courses_attributes_0_name', :with => 'Laboratorio')
      save_and_open_page
      click_button("Create Course group")                     
      page.has_content?("Curso creado").should == true                                              
      course_groupDB = CourseGroup.where(:name => 'Cuarto de E.S.O - Opción de Ciencias').first
      course_groupDB.name.should == 'Cuarto de E.S.O - Opción de Ciencias'
    end  

If I use Selenium as a driver all is right. But When I use Akephalos I get:

Failure/Error: course_groupDB.name.should == 'Cuarto de E.S.O - Opción de Ciencias'
undefined method `name' for nil:NilClass

Which means that there is no model in the database with that name. It wasn’t saved. The thing is, it was saved, but with non-utf characters.

How can I make sure that utf is used?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T01:42:15+00:00Added an answer on May 19, 2026 at 1:42 am

    I made a fork that add support for utf8.

    https://github.com/Nerian/akephalos

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When should I use specs for Rails application and when Cucumber (former rspec-stories)? I
I use both ruby on rails and Java. I really enjoy using migrations when
When dropping the use of rspec and rspec-rails plugins and switching to the gem
Is it architecturally sound to use Rails and Oracle? My concern is that Oracle
I'm trying to decide whether to use a Rails or a Django guru to
I am planning to use jquery in Rails instead of prototype. I am not
I would like to use create a rails route for a user's open id.
In my rails app I use the validation helpers in my active record objects
In a Rails app sometimes you use a redirect in an action... redirect_to :controller
In rails, is it recommended to use form helpers? Internally, everything boils down to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.