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

My question is about memory use and objects in actionscript 2. If I have
I want to use a temp directory that will be unique to this build.
(please excuse that I didn't use aliases). I would like my query output to
I make a distributed embedded application that will make use of several micro-controllers. The
I need to solve the following question which i can't get to work by
I have a new web app that is packaged as a WAR as part
We manage a site for a medical charity. They have a number of links
I need to develop a file indexing application in python and wanted to know
I am learning on my own about writing an interpreter for a programming language,
I've found several jQuery syntaxes for nullifying the enter on a form. First one:

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.